You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
for myself, implemented in Python, I wrote a little script to open a C++ source file on a locally running instance of Compiler Explorer. The benefit is that you can use Compiler Explorer on a real source file of a real project. All flags will be passed to CE, so the resulting assembly is the same as in the project.
I would like to know whether you would like to see this as part of cce. Would you accept a patch to that effect?
How does it work?
Prerequisite:
A local instance of compiler explorer is running. (Clone CE and run make).
A compile_commands.json file exists in one of the parent directories of the target file.
The target file can be in any language supported by CE and compile_commands.
Usage:
Given some source file of interest (myfile.cc), call cce myfile.cc.
The default browser is opened with a new tab, with myfile loaded in Compiler Explorer. The compile flags will be set correctly. This means you can open files that are part of a much bigger project and see the assembly output.
If this sounds like something you would like to see in CCE, please let me know and I'll prepare a new version in Rust.
The text was updated successfully, but these errors were encountered:
Hi @ethanhs,
for myself, implemented in Python, I wrote a little script to open a C++ source file on a locally running instance of Compiler Explorer. The benefit is that you can use Compiler Explorer on a real source file of a real project. All flags will be passed to CE, so the resulting assembly is the same as in the project.
I would like to know whether you would like to see this as part of cce. Would you accept a patch to that effect?
How does it work?
Prerequisite:
make
).compile_commands.json
file exists in one of the parent directories of the target file.Usage:
myfile.cc
), callcce myfile.cc
.If this sounds like something you would like to see in CCE, please let me know and I'll prepare a new version in Rust.
The text was updated successfully, but these errors were encountered: