Browse Source

* Freebsd fix

marco 24 years ago
parent
commit
585bfc5781
1 changed files with 32 additions and 1 deletions
  1. 32 1
      packages/gdbint/gdbint.pp

+ 32 - 1
packages/gdbint/gdbint.pp

@@ -52,6 +52,7 @@ interface
   {$LINKLIB c}
   {$LINKLIB c}
 {$endif go32v2}
 {$endif go32v2}
 
 
+{$ifndef freebsd}
 {$ifdef linux}
 {$ifdef linux}
   {$undef NotImplemented}
   {$undef NotImplemented}
  {$ifndef GDB_V5}
  {$ifndef GDB_V5}
@@ -72,6 +73,28 @@ interface
   {$LINKLIB c}
   {$LINKLIB c}
   {$LINKLIB gcc}
   {$LINKLIB gcc}
 {$endif linux}
 {$endif linux}
+{$endif freebsd}
+
+{$ifdef freebsd}
+  {$undef NotImplemented}
+ {$ifndef GDB_V5}
+  {$LINKLIB ncurses}
+ {$endif not GDB_V5}
+  {$LINKLIB gdb}
+    {$ifdef GDB_V5}
+      {$LINKLIB bfd}
+      {$LINKLIB readline}
+      {$LINKLIB opcodes}
+      {$LINKLIB history}
+      {$LINKLIB iberty}
+      {$LINKLIB ncurses}
+      {$LINKLIB m}
+      {$LINKLIB iberty}
+      {$LINKLIB dl}
+    {$endif GDB_V5}
+  {$LINKLIB c}
+  {$LINKLIB gcc}
+{$endif freebsd}
 
 
 {$ifdef win32}
 {$ifdef win32}
   {$undef NotImplemented}
   {$undef NotImplemented}
@@ -115,6 +138,9 @@ interface
 {$ifdef linux}
 {$ifdef linux}
   {$define supportexceptions}
   {$define supportexceptions}
 {$endif linux}
 {$endif linux}
+{$ifdef freebsd}
+   {$define supportexceptions}
+{$endif}
 
 
 {$ifdef NotImplemented}
 {$ifdef NotImplemented}
   {$fatal This OS is not yet supported !!!}
   {$fatal This OS is not yet supported !!!}
@@ -346,11 +372,13 @@ uses
   initc,
   initc,
 {$endif win32}
 {$endif win32}
 {$ifdef linux}
 {$ifdef linux}
+ {$ifndef freebsd}
   {$ifdef ver1_0}
   {$ifdef ver1_0}
     linux,
     linux,
   {$else}
   {$else}
     unix,
     unix,
   {$endif}
   {$endif}
+ {$endif}
 {$endif}
 {$endif}
 {$ifdef freebsd}
 {$ifdef freebsd}
   {$ifdef ver1_0}
   {$ifdef ver1_0}
@@ -2404,7 +2432,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.5  2001-04-08 11:43:39  peter
+  Revision 1.6  2001-04-20 18:43:00  marco
+   * Freebsd fix
+
+  Revision 1.5  2001/04/08 11:43:39  peter
     * merged changes from fixes branch
     * merged changes from fixes branch
 
 
   Revision 1.4  2001/01/21 21:38:52  marco
   Revision 1.4  2001/01/21 21:38:52  marco