[fpc-pascal] Cross compiling x86_64 on i386 Linux.

Causal Lists lists at causal.com
Mon May 28 15:05:03 CEST 2012

Excellent, thanks Jonas.

On 05/28/12 23:02, Jonas Maebe wrote:
> On 28 May 2012, at 14:56, Bruce Tulloch wrote:
>> Am I correct to assume that if I drag in the x86_64 libraries I need
>> from another x86_64 system, put them in a local directory and then
>> reference then using the -XR option I can make this setup work?
> -XR is for pointing the compiler/linker to the top of a complete sysroot (i.e., a hierarchy with /lib, /usr/lib etc), not to a directory with just few handpicked libraries. For the latter, use the -Fl command line switch instead, possibly combined with -Xd (to prevent the compiler from passing the default system directories as search paths to the linker).
> And yes, that should indeed work fine.
> Jonas_______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list