This is the mail archive of the gcc@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: RFC: Replace -isysroot with --sysroot?


> From: Mike Stump <mrs@apple.com>
> Date: Wed, 1 Dec 2004 12:27:17 -0800

> On Dec 1, 2004, at 10:20 AM, Hans-Peter Nilsson wrote:
> > So, can we add --sysroot, to affect the search paths as the
> > configure-option --with-sysroot=... does, but as a compile-time
> > option.
(I missed a question mark)

> How is this different than what we already do when the compiler is run 
> from an alternate place?

Not very different at all, except that you don't need to move
the compiler et al to the place where you have headers and
libraries.  But I'd rather compare the suggested --sysroot to
--with-sysroot; they should behave the same.

This is useful for cross-compiling, where you have different
projects/products and where you've put all headers and libraries
somewhere that's to be copied to the target (you supposedly
don't want to install a different compiler for each).  Moving
the installed compiler is different.

brgds, H-P


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