This is the mail archive of the 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: Multilib Support

On Mon, Jul 13, 2009 at 2:11 PM, Yann E.
MORIN<> wrote:
> David,
> All,
> (original message missing on the mailing list, so entirely quoted below
> for reference).
> On Monday 13 July 2009 18:58:08 David DeBonis wrote:
>> I am currently adding multilib support to crosstool-ng through a patch
>> specific to the Xilinx Microblaze soft processor with MMU support. ÂThe
>> patch works to a point. ÂI can dumpspecs on the object files that are
>> created and see some custom configs (i.e. xl-barrel-shift). ÂI create
>> glibc variants into subdirectories of the lib directory and can see all
>> of the variant .so's in the targets/XXX/build/build-libc directory and
>> sub-directories.
> How do you go to generate all the variants?
> Normally, gcc builds a multilib compiler by default. crosstool-NG disables
> multilib support in scripts/build/cc/, at line 170 and 277.
> Then, the glibc's ./configure checks for multilib support in the compiler
> ad builds all relevant combinations, and they should get installed when
> you run "make install".

thats not the way it happens. multilib support in gcc generates appropriate
startup files and runtime library variants for supported multilibs

For glibc you have to build it each time for a given variant with correct
compiler options.



For unsubscribe information see

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