x86-64 with lib and lib64
Sun Jan 25 23:29:00 GMT 2004
Dan Kegel wrote:
> Roman Duka wrote:
>> a silly question, for x86-64 targets we get 2 lib dirs, lib and lib64,
>> does that mean that the SAME toolchain could produce 64 bit and 32 bit
>> binaries?? and if yes how, by using compiler switches or something else?
> Yes, with a compiler switch, though I haven't tried it myself.
> Note however that you need to compile the C library once for
> each architecture.
i'm trying to do it now, i think we need to pass --enable-multilib when
configuring cross gcc for x86-64, however it fails with error on
gcc-3.3.2, it says something about ld skipping incompatible libraries
when linking with -lc etc ??? i've managed to built full x86-64
toolchain, but only with --disable-multilib options. well i'll try a
snapshot of gcc-3.4.0, maybe that's different.
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc