Well this is all good news. :)
If the assembly output is not really a problem then I am not too
worried. I guess we’ll just have to see, since the assembler output in
some cases is really weird.
Sounds like the Slack channel may be the place to be once I get going on
this. I’m currently in the midst of trying to make a script that gives
the illusion that the compilers are vaguely modern. Once I have that it
sounds like getting it up and running locally will not be a burden.
Thanks for the help.
--
Geoff
Matt Godbolt <
ma...@godbolt.org> writes:
> Hey Geoff!
>
> I'm excited to hear you're thinking seriously about adding your old
> compilers!
>
>
> - We run all our compilers in a bit of a sandbox. If the emulation setup
> interferes (or vice versa) that might be a bit of a problem. That said: we
> have hacked WINE enough to run under it...so I think we should be ok! We
> can help (if you're in to that kind of thing, then CppLang slack
> #compiler_explorer-development is the place to be:
>
https://cppalliance.org/slack/ )
> - the current sandbox is firejail, but in a pinch we could probably
> move to nsjail too (that's what we use for running user binaries)
> - Colouring...I wouldn't worry too much. We hackily parse all the debug
> info (DWARF or stabs). If it's not there, it won't matter, it'll just be
> fun to see the output. Our asm parser is vague enough it mostly "just
> works" with any output, and our syntax highlighting is also pretty
> forgiving. It might Just Work.
> - Licensing...there's a fun one :| You make a good point there, and I'm
> glad you're thinking about it. I married a lawyer so have become sensitive
> to this stuff myself....
>
> So: you're not going into the woods! To run locally to spike it out, you
> can probably get some kind of thing up and running in under an hour with:
>
> - there's no sandboxing when you run locally
> - so... make a shell script to run the emulator the way you'd like,
> pretending to be something vaguely gcc-like. It's easy to hack the CE
> source to run it however you like though, no need to go to heroics in the
> shell script
> - point etc/config/c.local.properties at it as per the docs you've
> found...
> - `make run`
> - enjoy the success!! (or not)