@@ -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.
@@ -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