x86-64 with lib and lib64

Dan Kegel dank@kegel.com
Sun Jan 25 23:19:00 GMT 2004


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.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list