This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86-64 with lib and lib64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]