Cross compiling and multiple sysroot question

Joseph Myers joseph@codesourcery.com
Mon Jan 12 18:51:00 GMT 2015


On Mon, 12 Jan 2015, Steve Ellcey wrote:

> MULTILIB_OSDIRNAMES += mips32r2=mipsr2/lib
> MULTILIB_OSDIRNAMES += .=mipsr2/lib
> 
> I don't think the first one would work because -mips32r2 is the default
> architecture and is not explicitly listed in MULTILIB_OPTIONS and I
> don't think the second form is supported at all, but maybe there is some
> other way to specify the location of the default libraries?

The default libraries for x86_64-linux-gnu go in ../lib64, so it's clearly 
possible by doing something sufficiently similar to how it's done for 
x86_64.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list