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 th
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 p
> 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 (b
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.
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
-Fu/usr/lib/fpc/$fp
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
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
-Fu/u
> 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/$fpctarge