RE: Problems building a cross compiler...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Rup.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux