[fpc-pascal] Build FP Ide with GDB support

Lee, John john.lee at logicacmg.com
Thu Jan 4 16:01:42 CET 2007


You can find all fpc versions versions of the libgdb*.zips (they contain all the .a files needed) on the freepascal ftp site /contribs/libgdb/... The ones used for v2.0.4 were mostly v6.2.1 & probably for linux eg for windows IIRC. You have to unzip the appropriate libgdb into the appropriate directory eg

\libgdb\win32\i386 for windows so that it is found. You will then get 'gdb found vxxx' or a similar message in the make log. 

This certainly works for win32 on v2.0.4, v2.0.5, and v2.1 ...not sure about your linux target & version...

HTH Regards John  

> 
> 
> Hi to all, 
> 
> The freepascal IDE included in standard 2.0.4 RPM has no debugger 
> support. There are also *.tgz binaries in FreePascal repositories, 
> and they contain GDB-enabled fp executable. Unfortunately, one of 
> the machines I would like do use for debugging is too old for that 
> binaries -- it is RedHat 9 with glibc 2.3.2, while precompiled fp 
> requires at least 2.3.4.
> 
> Trying to make FreePascal IDE from 2.0.4 sources I got a message 
> from the linker:
> "LibGDB was not found, IDE has no Debugger support". 
> I have no libgdb.a in my system, and I am afraid that no conforming 
> package provides it.
> 
> glibc-2.3.2-27.9.7.2.legacy
> gdb-5.3post-0.20021129.18
> 
> Yes, I know they are very old but now I cannot upgrade this machine, 
> it has to work stable with all its software.
> 
> How should I obtain or generate libgdb.a in order to make fp 
> IDE with gdb support?
> 
> 
> With regards,
> 
>                                                    Jan Je/lowicki
> -----------------------------------------------------------------
> Department of Mathematics                      Katedra Matematyki
> University of Life Sciences              Uniwersytet Przyrodniczy
>                           Wroc/law, POLAND
> -----------------------------------------------------------------
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



More information about the fpc-pascal mailing list