Re: Compiling GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux