This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Duplicated binaries in cross-compiler
- To: gcc-help at gcc dot gnu dot org
- Subject: Duplicated binaries in cross-compiler
- From: Laurent Pinchart <laurent dot pinchart at capflow dot com>
- Date: Wed, 08 Aug 2001 09:50:56 +0200
- Reply-To: laurent dot pinchart at capflow dot com
Hi
I finally managed to compile a gcc cross compiler (host :
i686-pc-linux-gnu, target : powerpc-linux-gnu).
I now wonder why the binaries (both binutils & gcc) are duplicated. For
example, gcc can be found in $prefix/bin/$target-gcc and
$prefix/$target/bin/gcc. Both binaries are the same.
Is also would like to know what the current policy about include files
is. All the include files for the target platform (glibc,...) are in
$prefix/$target/include, except for the g++-3 includes which are in
$prefix/include.
Could anyone tell me why is that ?
Laurent Pinchart