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
Gabriel Devillers 90894e8abc Added wdiff configuration options.
Configuration is read from gccexplorer config file.
Default values are:
/tmp for temporary directory
/usr/bin/wdiff for the wdiff executable

Also: Cleaned lib/diff.js.
7 years ago
.idea Do all filtering on the server 8 years ago
c-preload Bump up timeouts and memory limits 7 years ago
d Add clean rule to d/Makefile, and clean up subdirectories in 'make clean' 8 years ago
etc Added wdiff configuration options. 7 years ago
examples Better alignment hint for "max array (optimized)" 7 years ago
lib Added wdiff configuration options. 7 years ago
static Minor cleanings. 7 years ago
test Update copyright 8 years ago
.gdb_history 6.1 rc2 8 years ago
.gitignore Add heapsnapshot 9 years ago
.jshintrc Add IDEA files. 9 years ago
.travis.yml Remove stable node from travis for now, as it doesn't like memwatch 8 years ago
LICENSE Update copyright 8 years ago
Makefile Add clean rule to d/Makefile, and clean up subdirectories in 'make clean' 8 years ago
Notes.md Add some notes on LTO version 8 years ago
README.md Update README.md 7 years ago
app.js Added wdiff configuration options. 7 years ago
gdb.txt 6.1 rc2 8 years ago
launch_c++_port_10241.sh Added tiny shell script to start gcc-explorer with C++ language. 7 years ago
launch_port_10241.sh Tiny script to start listening on specific port (not parsed from config files). 7 years ago
package.json Hopeful fix for connect-restreamer 8 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.