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

2008-06-25 Thread Peter Vreman
Joost van der Sluis wrote: 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 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget

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

2008-06-25 Thread Ales Katona
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.

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

2008-06-25 Thread Marco van de Voort
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.

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

2008-06-25 Thread Ales Katona
Marco van de Voort wrote / napísal(a): What happens if you have a bunch of 32-bit and 64-bit packages then? Packages go to /usr/lib not /usr/local/lib, and /usr/lib is either symlink or the main one (depends on distro if it's 64 or 32 I guess). /usr/local is completely untouched by all

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

2008-06-25 Thread Joost van der Sluis
Op woensdag 25-06-2008 om 12:55 uur [tijdzone +0200], schreef Ales Katona: 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

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

2008-06-23 Thread Marco van de Voort
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 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*

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

2008-06-23 Thread Ales Katona
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 -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget

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

2008-06-23 Thread Ales Katona
Oh wait sorry other way around /usr/lib64 is a symlink to /usr/lib on ubuntu, it's inverted to fedora in any case. Ales ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel