mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 08:49:46 -06:00
When compiling to binary or running the executable, extra options are inserted, breaking some weak asumption in Ada/GNAT on where in the list is the inputFilename. Override prepareArguments() for GNAT and (more) cleanly handle the options (split between gnatmake, compiler, binder and linker). Also use 'gnatmake' as main compiler executable instead of 'gnat'. Fixes #3709 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>