[fpc-pascal] Debugger support for FP (issues with libgdb.a)

Andrea mariofutire at googlemail.com
Mon Dec 22 20:07:07 CET 2008

Joost van der Sluis wrote:
> Op zondag 21-12-2008 om 17:29 uur [tijdzone +0000], schreef Andrea:
>> I've tried to use the debugger in FP 2.2.2 and I got this error
>> "No debugger support available"
> I see below that you used the Fedora/RHEL fpc-rpm's?

I amended the spec to copy the lib.

>> The I read online and found that I need to get libgdb.a from a build of gdb and copy it in fpc.
>> I've done that and copied to
>> /fpcsrc/libgdb/linux/libgdb.a
> I don't know if this helps, but you do not only need libgdb.a, but also
> some other files. You can download them here:
> ftp://ftp.freepascal.org/fpc/contrib/libgdb/v6.2.1 
> Further you have to make sure that there are no other copies of those
> files somewhere on your system so that the linker may find them.

I could not find my version of GDB there.
I will take note of which libraries were used and replicate them.
And I think you are right, I will first start with the easy compilation procedure and later extend
it to rpmbuild.

> You tried to re-build the rpm, there's no documentation about that.
> Maybe it's easier to build then ide manually. Extract the source, copy
> the libgdb-files, go to the ide directory and do a 'make clean all'
> But the rpm-approach should also work.


More information about the fpc-pascal mailing list