mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 06:29:16 +02:00
+ 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:
parent
eca3ddc5ce
commit
c239dc128f
@ -31,7 +31,7 @@ FPMAKE_BIN_CLEAN=$(wildcard ./fpmake$(SRCEXEEXT))
|
|||||||
LOCALFPMAKE=./fpmake$(SRCEXEEXT)
|
LOCALFPMAKE=./fpmake$(SRCEXEEXT)
|
||||||
# do not add -d$(CPU_TARGET)
|
# do not add -d$(CPU_TARGET)
|
||||||
override NOCPUDEF=1
|
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]
|
[rules]
|
||||||
# Do not pass the Makefile's unit and binary target locations. Fpmake uses it's own.
|
# Do not pass the Makefile's unit and binary target locations. Fpmake uses it's own.
|
||||||
|
@ -80,6 +80,9 @@ begin
|
|||||||
begin
|
begin
|
||||||
BuildEngine.log(vlCommand, 'Compiling IDE with GDB/MI debugger support, LibGDB is not needed');
|
BuildEngine.log(vlCommand, 'Compiling IDE with GDB/MI debugger support, LibGDB is not needed');
|
||||||
P.Options.Add('-dGDBMI');
|
P.Options.Add('-dGDBMI');
|
||||||
|
{ AIX also requires -bbigtoc for gdbmi }
|
||||||
|
if Defaults.OS=aix then
|
||||||
|
P.Options.Add('-k-bbigtoc');
|
||||||
end
|
end
|
||||||
else if not (NoGDBOption) then
|
else if not (NoGDBOption) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user