This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: implications and importance of --prefix?? what about -staticin GCC_EXTRA_CONFIG?


Wolcott, Ken (MED, Compuware) wrote:
On Wednesday 05 November 2003 17:08, Dan Kegel wrote:

Wolcott, Ken (MED, Compuware) wrote:

 Regarding --with-sysroot, should that be run only with binutils
configure and the final gcc configure?  It seems that using this
configure flag with the bootstrap configure doesn't make any
sense...probably not with the kernel headers either...but what about
glibc?  For my next experiment, I'll try just with binutils and the final
gcc compile to see if that works...

Correct. Also, if you're building gdb, that needs it, too, I hear.


Does the path pointed to by --with-sysroot have to pre-exist?

(I'm running purely on google here; haven't tried it myself.)


Yes, according to
http://www.redhat.com/docs/manuals/gnupro/GNUPro-Toolkit-03r1/gnupro_9.html

(See also http://gcc.gnu.org/install/configure.html, which says
if you use --with-sysroot, you shouldn't use --with-headers or --with-libs.)

See also http://linuxfromscratch.org/~tchiwam/XCompilerLinuxGlibc
(Seems he used --with-sysroot when building
the bootstrap compiler - hmm, didn't think that'd be needed, but it makes sense.
He didn't with binutils;
I bet he hasn't tried moving the resulting binaries to a different location yet.)

A couple other examples:
http://www.myownlittleworld.com/computers/solaris-cross.html
http://www.linux-france.org/~dmentre/doc/en/ixp2400-linux-toolchain-howto.txt

BTW, I noticed there's a bug filed against sys-root; not sure if it affects us:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12561

- Dan



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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