On 31/01/2010 14:48, Pedro Alves wrote:
> On Sunday 31 January 2010 14:43:06, Dave Korn wrote:
>>> The directory that should contain system headers does not exist:
>>>   /opt/mingw32ce/arm-mingw32ce/usr/include
> 
> Hmm, or:
> 
>  NATIVE_SYSTEM_HEADER_DIR = /include
> 
> in t-wince-pe (or some other make fragment) ?
> 
> I see that config/i386/t-mingw32 has:
> 
> NATIVE_SYSTEM_HEADER_DIR = /mingw/include

  Will that work in cross?

> I'm guessing a cross build of upstream MinGW is putting
> headers in $(tooldir)/mingw/include then.  I never looked
> at their build scripts.
> 
> I don't know if we'd have to do something for libs.  If so,
> how does one tell gcc that?

  Don't think we can, but then again, gcc doesn't really do anything with the
libraries except copy them around.  We may need to fix the mingw stage of the
build script to prepare a proper sysroot, or possibly just run the
install-headers stage of it and force it to install to
$prefix/$target/sys-include.

    cheers,
      DaveK


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to