Browse Source

* freebsd linking slightly alternate. Link .a's like Linux to avoid conflicts;
some extra linklibs (libgnu, libz) added. The libgnu linking might be
more version dependent.

git-svn-id: trunk@23590 -

marco 12 years ago
parent
commit
64ad892b55
1 changed files with 9 additions and 7 deletions
  1. 9 7
      packages/gdbint/src/gdbint.pp

+ 9 - 7
packages/gdbint/src/gdbint.pp

@@ -303,16 +303,18 @@ interface
     {$linklib kvm}
   {$endif}
   {$undef NotImplemented}
-  {$LINKLIB gdb}
+  {$LINKLIB libgdb.a}
   {$ifdef GDB_HAS_SIM}
-    {$LINKLIB sim}
+    {$LINKLIB libsim.a}
   {$endif GDB_HAS_SIM}
-  {$LINKLIB bfd}
-  {$LINKLIB readline}
-  {$LINKLIB opcodes}
-  {$LINKLIB history}
-  {$LINKLIB iberty}
+  {$LINKLIB libbfd.a}
+  {$LINKLIB libreadline.a}
+  {$LINKLIB libopcodes.a}
+  {$LINKLIB libhistory.a}
+  {$LINKLIB libiberty.a}
+  {$LINKLIB libgnu.a} // at least 7.4 generates this.
   {$LINKLIB ncurses}
+  {$LINKLIB z} // linked implictely by something on Linux
   {$LINKLIB m}
   {$LINKLIB iberty}
   {$ifndef GDB_DISABLE_INTL}