[fpc-devel] 32 and 64 bit fpc.cfg file
almindor at gmail.com
Mon Jun 23 13:27:23 CEST 2008
Joost van der Sluis wrote / napísal(a):
> Hi all,
> On Fedora 64-bit libraries are installed in /usr/lib64 and 32 bit
> libraries are in /usr/lib. The fedora fpc-packages also use these
> directories. The fpc.cfg file contains the following:
> # 32-bits
> # 64-bits
> This works, but is not ideal offcourse. Is there a way to detect if the
> compiler is 32 or 64 bit in the fpc.cfg file? So that it's possible to
> define these options depending on compiling for 32 or 64 bit?
You're making it just specifically for fedora right? Because for example
Ubuntu 64bit has it inverted, /usr/lib is a symlink to /usr/lib64.
Perhaps 64bit fpc.cfg should have explicit lib<bits> dirs.
More information about the fpc-devel