+ Add -bbigtoc linker option for aix IDE with GDBMI

* Add AIX to list of OS's using GDBMI by default.

git-svn-id: trunk@34426 -
This commit is contained in:
pierre 2016-09-04 16:51:09 +00:00
parent eca3ddc5ce
commit c239dc128f
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@ FPMAKE_BIN_CLEAN=$(wildcard ./fpmake$(SRCEXEEXT))
LOCALFPMAKE=./fpmake$(SRCEXEEXT)
# do not add -d$(CPU_TARGET)
override NOCPUDEF=1
GDBMI_DEFAULT_OS_LIST=darwin freebsd haiku linux netbsd openbsd solaris win32 win64
GDBMI_DEFAULT_OS_LIST=aix darwin freebsd haiku linux netbsd openbsd solaris win32 win64
[rules]
# Do not pass the Makefile's unit and binary target locations. Fpmake uses it's own.

View File

@ -80,6 +80,9 @@ begin
begin
BuildEngine.log(vlCommand, 'Compiling IDE with GDB/MI debugger support, LibGDB is not needed');
P.Options.Add('-dGDBMI');
{ AIX also requires -bbigtoc for gdbmi }
if Defaults.OS=aix then
P.Options.Add('-k-bbigtoc');
end
else if not (NoGDBOption) then
begin