Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-10

Makefiles updated

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Vreman

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) directory.

Example:

-Fu~/fpc/rtl/linux

now becomes:

-Fu~/fpc/rtl/units/i386-linux

or more generic:

-Fu~/fpc/rtl/units/$fpccpu-$fpctarget

Reply by email