This is the mail archive of the gcc-patches@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: Updates to --with-sysroot support


> Date: Mon, 4 Nov 2002 23:29:39 -0800
> From: Zack Weinberg <zack@codesourcery.com>

> Am I correct in thinking that for a normal Unix native compiler, you
> could set sysroot to "/usr" and get the expected behavior?  Or is it
> prepended to $prefix?  Or what?

You'd sysroot to '/'.

The idea is that for crosses, you can NFS-mount '/' on the target
system and point the sysroot at the place where it's mounted, and your
cross will have all the libraries and headers it needs.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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