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: Compiling GCC


Paulo J. Matos wrote:
Working gcc-4.1.1 compiler built by gentoo and working is:
$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include
Also the '/usr/lib64/gcc/....' could be the default in those current 64-bit
Linuces, the '/usr/lib/gcc' then being the one in 32-bit Linuces....


In cross-compilers on 32-bit hosts the '/usr/lib/gcc/...' then would be the
default, if configured using '--prefix=/usr'. So this is $host specific, not
$target specific, a 'powerpc-linux-gnu' targeted GCC on x86_64 host
could have the '/usr/lib64/gcc/powerpc-linux-gnu/' in use for its GCC-
version specific stuff...


Maybe there is no "standard" for this, GCC only assumes that existing :-(


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