[fpc-devel] Makefiles updated

Peter Vreman peter at freepascal.org
Sat Oct 30 14:42:19 CEST 2004

The Makefiles in the fpc tree now generate the units (*.ppu, *.o) in a
separate directory. Now it is possible to build for example i386-linux,
sparc-linux and powerpc-linux units in a single source tree.

When you already have a tree with build *.ppu files you need to run 'make
distclean' first to clean all ppu files.

It also has impact for -Fu lines in fpc.cfg and the commandline. Those now
need to point to the units/<cpu>-<os>/ (units/<os> for go32v2 and emx)



now becomes:


or more generic:


More information about the fpc-devel mailing list