Files
compiler-explorer/etc/config/ada.defaults.properties
T
Marc Poulhiès 6e5d6364fe Ada: Fix inputFileName at incorrect loc for binary and execution (#3712)
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'.

Refresh Copyright.

Fixes #3709

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-05-25 14:08:06 +02:00

21 lines
516 B
Properties

# Default settings for Ada
compilers=&gnat
defaultCompiler=gnatdefault
demangler=c++filt
versionFlag=--version
compilerType=ada
group.gnat.compilers=gnatdefault
group.gnat.intelAsm=-masm=intel
group.gnat.supportsBinary=true
group.gnat.supportsExecute=true
group.gnat.objdumper=objdump
compiler.gnatdefault.exe=/usr/bin/gnatmake
compiler.gnatdefault.name=gnat default
#################################
#################################
# Installed libs (See c++.amazon.properties for a scheme of libs group)
libs=