Container for Compiler Explorer
3.1K
Self-hosted version of https://godbolt.org/
PATH)Compiler Explorer use a default commandline looking like:
-g -o <output> -S <additional flags added by user> <input>
which could be impractical for interpreter-like compilers. This binary currently does this:
<src><out>-g, -o and -S<input>) containing all data after --- if encountered in commandline<exe>)You can use it by creating a symbolic link named compiler.name, where name is an executable in the PATH.
It then calls ./name if file exists and is executable, else name with these arguments:
<exe> (boolean, 1 if <out> must be executable)<out><src><input> (file containing data after ---)<args> (user arguments before ---)It will also call this with the only argument:
--versionto give Compiler Explorer information about it. If this call fails,
it will answer Compiler Explorer with name.
Arguments:
8.1.0)Will install GCC in /opt/gcc-${gcc_version}.
Content type
Image
Digest
Size
357.9 MB
Last updated
about 6 years ago
docker pull celforyon/compiler-explorer