On 31/01/2010 14:43, Dave Korn wrote:

>   Doh.  I'll try --with-headers/--with-libs instead.

  So, adding "--with-headers=$prefix/arm-mingw32ce/include
--with-libs=$prefix/arm-mingw32ce/lib" to the configure line for the main gcc
build gets me an installation with lots of new fixed headers in the
include-fixed dir, among which we have a limits.h with the correct header and
trailer.  Preinstalling headers to $prefix/$target/sys-include would probably
do the exact same thing but seems like needless duplication.  And I don't
think the --with-libs was even necessary at all from the looks of it.

  I'll try a full clean build with nothing preinstalled and this patch:

Index: build-mingw32ce.sh
===================================================================
--- build-mingw32ce.sh  (revision 1440)
+++ build-mingw32ce.sh  (working copy)
@@ -341,6 +341,7 @@ build_gcc()
             --disable-interwork            \
             --without-newlib               \
             --enable-checking              \
+            --with-headers=${PREFIX}/${TARGET}/include \
             --with-headers                     \
             --disable-__cxa_atexit
         ;;


    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