You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Matt Godbolt fa4406b186 Fix unused label issues
Treat labels which are used only by directives in other labels as used
if the other label itself is used by an opcode: that is, propagate the
transitive usage of labels.

Fixes #35
7 years ago
.idea Snapshot 7 years ago
c-preload Fix up shebang in compiler-wrapper 7 years ago
d Add clean rule to d/Makefile, and clean up subdirectories in 'make clean' 7 years ago
etc Allow more redirect sources 7 years ago
examples Better alignment hint for "max array (optimized)" 7 years ago
lib Fix unused label issues 7 years ago
static Limit the height of the compiler dropdown 7 years ago
test Fix unused label issues 7 years ago
.gdb_history 6.1 rc2 7 years ago
.gitignore Add heapsnapshot 8 years ago
.jshintrc Add IDEA files. 8 years ago
.travis.yml Remove stable node from travis for now, as it doesn't like memwatch 7 years ago
LICENSE Update copyright 7 years ago
Makefile Add clean rule to d/Makefile, and clean up subdirectories in 'make clean' 7 years ago
Notes.md Add some notes on LTO version 7 years ago
README.md Update README.md 7 years ago
app.js Remove code duplication. 7 years ago
gdb.txt 6.1 rc2 7 years ago
package.json Fix unused label issues 7 years ago

README.md

Build Status Codewake

GCC Explorer

GCC Explorer is an interactive compiler. The left-hand pane shows editable C/C++ code. The right, the assembly output of having compiled the code with a given compiler and settings.

Try out the demo site!

Developing

GCC Explorer is written in node.

Assuming you have npm and node installed, simply running make ought to get you up and running with a GCC explorer running on port 10240 on your local machine: http://localhost:10240

If you want to point it at your own GCC or similar binaries, either edit the etc/config/gcc-explorer.defaults.properties or else make a new one with the name gcc-explorer.YOURHOSTNAME.properties. The config system leaves a lot to be desired, I'm working on porting CCS to javascript and then something more rational can be used.

Feel free to raise an issue on github or email me directly for more help.