[fpc-pascal] cross compiling enigma

Marco van de Voort marcov at stack.nl
Fri Dec 7 09:20:10 CET 2007

> I'm modifying the lazarus packaging scripts to make building debs of 
> lazarus, fpc and cross-fpc variants simpler than it is. (Cross is not 
> simple right now)
> I've read the buildfaq (thanks Marco) and various fpc build scripts but 
> am still puzzled in this respect:
> Why does:
> $ cd fpc
> $make clean all OS_TARGET=win32  FPC=/usr/bin/ppc386
> make:
> ./compiler/ppc386.exe
> I thought I was building a cross-compiler, not cross-compiling one - or 
> is it a side effect of building the rtl etc?

The thing you are missing (read buildfaq better :-) is that FPC doesn't have
to be cross for platforms on the same architecture.

More information about the fpc-pascal mailing list