Cross compiler installation layout.
Paul Chavent
Paul.Chavent@onera.fr
Thu Dec 17 17:18:00 GMT 2009
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).
Please help me to understand.
Regards.
Paul.
More information about the Gcc-help
mailing list