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
Lorenz Hübschle-Schneider bc459843b7 Switch to memwatch-next
memwatch doesn't work with node 0.12
8 years ago
.idea Add IDEA files. 8 years ago
c-preload First steps towards new config for amazon 8 years ago
d Copyright update, formatting changes 8 years ago
etc rust 1.1 8 years ago
examples Update optimized examples to work with GCC 5.1 and Clang (thanks @cdomville) 8 years ago
lib Ensure directories are periodically cleaned up (saves leaking a directory name every compile) 8 years ago
static Move tip widget to the left 8 years ago
test Copyright update, formatting changes 8 years ago
.gitignore Add heapsnapshot 8 years ago
.jshintrc Add IDEA files. 8 years ago
LICENSE Copyright update, formatting changes 8 years ago
Makefile Fix up makefile for 14.04 8 years ago
Notes.md Add IDEA files. 8 years ago
README.md Add IDEA files. 8 years ago
app.js Switch to memwatch-next 8 years ago
package.json Switch to memwatch-next 8 years ago

README.md

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. Most of the heavy lifting is actually done on the client, which is arguably a bad decision.

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.