[fpc-devel] compile fpc for i386 from a 64 bit machine

Daniël Mantione daniel.mantione at freepascal.org
Thu Nov 29 10:48:56 CET 2007



Op Thu, 29 Nov 2007, schreef Alvise Nicoletti:

> Yes, I have the packages needed to open a 32 bit file in my 64 bits distro
> (ubuntu-server): .
> linux32 ia32-libs lib32gcc1 lib32stdc++6 lib32z1 libc6-dev-i386 lib32bz2-dev
> 
> But the fpc compiler version I'm using have bugfixes introduced by Joost that
> are needed in my application, so I will also need a 32 bit fpc compiler with
> that inside it...
> ... or I am wrong?

Nothing stops you from compiling a 2.2.1 i386 compiler on an x86_64 
system. It just needs to be bootstrapped with a ppc386, simply do:

make FPC=/path/to/ppc386 CPU_SOURCE=i386

... and voila.

Daniël


More information about the fpc-devel mailing list