This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiler installation layout.
- From: Andrew Haley <aph at redhat dot com>
- To: Paul Chavent <Paul dot Chavent at onera dot fr>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 17 Dec 2009 17:18:04 +0000
- Subject: Re: Cross compiler installation layout.
- References: <4B2A6499.4030907@onera.fr>
Paul Chavent wrote:
> Hi.
>
> I try to explain each directory created when i have done make install.
>
> I do a cross tool chain with binutils/gcc/eglibc/insight.
>
> The host/target triplet for binutils/gcc/insight are :
> BUILD =x86_64-cross-linux-gnu
> HOST =x86_64-cross-linux-gnu
> TARGET =i686-unknown-linux-gnu
>
> The ones for eglibc are :
> BUILD =x86_64-cross-linux-gnu
> HOST =i686-unknown-linux-gnu
>
>
> bin # host (ELF 64-bit) i686-unknown-linux-gnu-gcc, ...
> i686-unknown-linux-gnu
> bin # host (ELF 64-bit) ar, as, c++, ...
> include
> lib # target (ELF 32-bit) libgcc, libssp, ...
> sys-root # target "root"
> etc
> lib
> sbin
> usr
> include
> info
> lib
> lib64
> libexec
> man
> share
> x86_64-cross-linux-gnu
> i686-unknown-linux-gnu
> include
> lib # host (ELF 64-bit) libbfd, libopcode
>
>
> For example :
> - why i686-unknown-linux-gnu/lib/libgcc is not in
> i686-unknown-linux-gnu/sys-root/lib/libgcc ?
> - why i686-unknown-linux-gnu/bin/gcc is so far from
> x86_64-cross-linux-gnu/i686-unknown-linux-gnu/lib/libbfd ?
>
> I don't find any explain to this scattering.
>
> Perhaps i have mistaken in my configure option (i can send them if it
> can help).
I think you better had. Looks to me like you've mixed up your sysroot
and prefix.
Andrew.