On 5/28/07, Pedro Alves wrote:
> Danny Backx wrote:
> > Pedro,
> >
> > In order to build libstdc++ successfully, I had to edit the Makefile as
> > indicated below. Does this patch work on your system too ?
> >

Sorry for the delay - had to build cegcc from scratch on a new machine.

The real problem comes from the quotes around:

THE_SYSTEM_LIBS?="-lcegcc -lcoredll"
                 ^                 ^
-----------------+-----------------|

Removing the quotes fixes it.

You've introduced THE_SYSTEM_LIBS to be able to use this makefile with
mingw32ce too.  Since we have a better to do it for mingw32ce (that
src/script.sh script that needs renaming :) ), I guess it would be better to
revert your last patch, except this hunk:

-cd ${MY_DIR}/_tmp; $(AR) -x $(PREFIX)/lib/libsupc++.a
+cd ${MY_DIR}/_tmp; $(AR) -x $(PREFIX)/$(TARGET)/lib/libsupc++.a

Cheers,
Pedro Alves

-------------------------------------------------------------------------
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