[fpc-devel] FPC on SPARC Linux

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Wed Dec 31 13:45:21 CET 2014


Pierre Free Pascal wrote:
> Hi  Mark,
> 
> did you try to generate the libraries needed 
> to compile FP IDE with GDB support by
> using the script in fpcsrc/packages/gdbint/gen-gdblib-inc.sh ?
> 
> If you have a build directory of a certain GDB version (let's say 7.8.1
> as an example), simply copy the script over to build-gdb-7.8.1/gdb, and run
> it locally.
> 
>  This script tries to determine all the libraries needed
> and generates a second script called copy-libs.sh
> that you should call in turn, with a simple arg, the target directory,
> for example, ./copy-libs.sh ~/pas/libgdb-7.8.1
> 
> After that,
>   using 
> make -C ./packages/gdbint GDBLIBDIR=~/pas/libgdb-7.8.1
> followed by
> make -C ide GDBLIBDIR=~/pas/libgdb-7.8.1
> should makes the things much easier.
> 
> One caveat is to avoid system installed libraries to 
> be installed instead of the ones inside this directory.
>  On systems on which I got this problem, I had to manually
> remove all lines {$librarypath XXX}
> where XXX resolved to /usr/lib or /lib
> 
> In the hope this will help,
> 
> Pierre Muller

Thanks Pierre, I'll investigate. OTOH the existing GDB 6.7.1 libraries 
appear sufficient for 2.2.4 through 2.4.4 and for 2.6.4, all on the same 
system without any underlying adjustments.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list