On Tue, 30 Sep 2003, Andy Sy wrote:
> I've noticed that in many of the example programs that > come with FreePascal, trying to compile them results in > an link error where ld claims it cannot find a particular > library (I'm getting one for gd) even though the > corresponding library file is present in > > /usr/local/lib/fpc/1.0.10/units/linux/libxxx > > From searching the archives, it seems that this is due to > the actual library itself missing (at least for other > libraries like mysql and postgres). What then are the > file like gd.o, libgd.a, libpgd.ppu for? Are they just > stubs? And what exactly do they do? The libgd.ppu file contains only the definitions of the library entry points and definitions of all types. The libgd.o file normally contains translated C macros. The libgd.a file should be the actual C library installed on your system ? > It would probably be a good idea to expand the FAQ entry > regarding 'cannot find vga' into one that covers this > particular situation or put said info in a README in the > examples directory. The error can have several causes. Michael. _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal