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: isysroot and various headers


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


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