Browse Source

+ 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 -

pierre 9 years ago
parent
commit
c239dc128f
2 changed files with 4 additions and 1 deletions
  1. 1 1
      ide/Makefile.fpc
  2. 3 0
      ide/fpmake.pp

+ 1 - 1
ide/Makefile.fpc

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

+ 3 - 0
ide/fpmake.pp

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