Danny Backx wrote:
I've implemented the Makefile change (libstdc++) as you said, and reran
my RPM build for both cegcc and mingw32ce. Both succeeded.

Excellent, this fixes the cegcc build for me on OSX, previously I could only build mingw32ce.

Since I have a dual core machine, my MAKEFLAGS variable is set to "-j 2" which is not compatible with the cegccdll and libstdc++ make process - the _tmp directory is deleted before it's needed. As a kludgy solution, I've added the -j 1 flag to make when those two targets are built from build-cegcc.sh, patch attached. Since those two build quickly, I don't think this solution is too bad.

        * build-cegcc.sh (build_cegccdll, build_libstdcppdll): Add
        "-j 1" flag to make.

Since I can now build both cegcc and mingw32ce, I'd be happy to provide installer images for OSX on the next release. Although these would exclude gdb :-/


Regards,
Carsten Sorensen

Index: build-cegcc.sh
===================================================================
--- build-cegcc.sh      (revision 927)
+++ build-cegcc.sh      (working copy)
@@ -197,7 +197,7 @@
     echo ""
 
     cd ${BASE_DIRECTORY}/cegcc/cegccdll || exit 1
-    make || exit 1
+    make -j 1 || exit 1
     make install || exit 1
 }
 
@@ -221,7 +221,7 @@
     echo ""
 
     cd ${BASE_DIRECTORY}/cegcc/libstdc++ || exit 1
-    make || exit 1
+    make -j 1 || exit 1
     make install || exit 1
 }
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to