This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiling and multiple sysroot question
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Steve Ellcey <sellcey at imgtec dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 12 Jan 2015 18:51:07 +0000
- Subject: Re: Cross compiling and multiple sysroot question
- Authentication-results: sourceware.org; auth=none
- References: <023c43de-da14-4832-a95c-38ff7601a439 at BAMAIL02 dot ba dot imgtec dot org> <alpine dot DEB dot 2 dot 10 dot 1501082203560 dot 22036 at digraph dot polyomino dot org dot uk> <1421085908 dot 18579 dot 18 dot camel at ubuntu-sellcey>
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