This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: Cross compiler installation layout.


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.


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