[fpc-devel] 32 and 64 bit fpc.cfg file

Marco van de Voort marcov at stack.nl
Wed Jun 25 13:58:27 CEST 2008


> Peter Vreman  wrote / nap?sal(a):
> > You can use:
> >
> > #ifdef CPU64
> > -Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget
> > ...
> > #else
> > -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
> > #endif
> >
> 
> Note that this won't work with /usr/local as prefix, because there's 
> only one lib (by default) there.

What happens if you have a bunch of 32-bit and 64-bit packages then?



More information about the fpc-devel mailing list