Updates to --with-sysroot support
Geoff Keating
geoffk@geoffk.org
Tue Nov 5 10:51:00 GMT 2002
> 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>
More information about the Gcc-patches
mailing list