Problems building a cross compiler...

Andrew McCall andrew.mccall@gmail.com
Fri Jul 22 12:27:00 GMT 2005


On 22/07/05, Rupert Wood <me@rupey.net> wrote:
> Andrew McCall wrote:
> 
> > You can see the layout here:
> >
> > http://svn.berlios.de/viewcvs/haiku/haiku/trunk/headers/
> >
> > I have tried using:
> >
> > --with-sysroot=../../../haiku/headers
> > --with-sysroot=../../../haiku/headers/os
> > --with-sysroot=../../../haiku/headers/posix
> 
> IIRC, the sysroot directory should contain subdirectories 'include' and
> 'lib'. By the look of it, posix is the one you need as include, although you
> might want to merge in the os directory depending on what layout the apps
> you want to compile expect. You could do this by making a new 'include'
> directory and using cpio or similar to link in all the files in os and
> posix. I don't know the convention for your OS.
> 
> I may be a few years out of date but it used to be safest to use absolute
> paths for configure parameters rather than relative paths, i.e.
> 
>     --with-sysroot=/home/mccall/haiku/headers

Thanks for the reply Rupert, again, I have tried this, but I still get
the same error.  Can I not use -H or something to include multiple
directories?

-- 
Thanks,

Andrew McCall
andrew.mccall@gmail.com



More information about the Gcc-help mailing list