isysroot and various headers
Daniel Jacobowitz
drow@false.org
Wed Jan 5 02:05:00 GMT 2005
On Tue, Jan 04, 2005 at 03:39:01PM -0800, Devang Patel wrote:
>
> On Jan 4, 2005, at 3:09 PM, Daniel Jacobowitz wrote:
>
> >On Tue, Jan 04, 2005 at 02:52:58PM -0800, Devang Patel wrote:
> >>Any suggestion/thoughts on how to keep language headers in sysroot
> >>and use -isysroot to find them?
> >
> >Not really.
>
> OK.
>
> > There are probably a couple ways to do it...
>
> Would it be possible for you to describe fragile but independent
> of -isysroot solution you are using?
I just configure the cross compiler for --with-gxx-include-dir (not
sure I got the spelling right) that points into the target filesystem.
Then I build the target libraries (but from a separate source tree than
the cross compiler - it's a long story).
I think the best thing would be to have some option which makes the
target libraries _and_ headers install themselves in $(sysroot).
However, you'd have to specify a second --prefix for this...
--
Daniel Jacobowitz
More information about the Gcc
mailing list