[fpc-devel] Making a debian package from FPC
Daniël Mantione
daniel.mantione at freepascal.org
Thu Aug 31 14:34:07 CEST 2006
Op Thu, 31 Aug 2006, schreef ik:
> Thanks again :)
> I compiled gdb from sources, and copied the libgdb.a to the fpcsrc and
> symlink it as libgdb and it worked.
>
> (Just to make it index for others to have that using search engines :))
>
> Now another question is, can I cross compile to make an i386 deb
> packages as well ?
Generally, yes, but there can be a few surprises:
* The compiler expects 32-bit libraries in /lib
* Bootstrap compilers <=2.0.2 need you to set GNUTARGET and LDEMULATION
to instruct the binutils to generate 32-bit binaries.
* Allhtough building works, I'm not sure of .deb-building.
Daniël
More information about the fpc-devel
mailing list