Darwin build error

Philip Herron redbrain@gcc.gnu.org
Sat Aug 28 08:28:00 GMT 2010


MLIBS=`/Users/philipherron/workspace/gcc/gcc-bootstrap/./gcc/xgcc
-B/Users/philipherron/workspace/gcc/gcc-bootstrap/./gcc/
-B/usr/local/x86_64-apple-darwin10.4.0/bin/
-B/usr/local/x86_64-apple-darwin10.4.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.4.0/include -isystem
/usr/local/x86_64-apple-darwin10.4.0/sys-include    --print-multi-lib
| sed -e 's/;.*$//'` ; \
	for mlib in $MLIBS ; do \
	  /usr/local/x86_64-apple-darwin10.4.0/bin/strip -o
libgcc_ext.10.4.dylib_T${mlib} \
	    -R ../../../gcc-dev/libgcc/../gcc/config/i386/darwin-libgcc.10.4.ver
-c -urx \
	    ../${mlib}/libgcc/${mlib}/libgcc_s.dylib || exit 1 ; \
	done
/usr/local/x86_64-apple-darwin10.4.0/bin/strip: invalid option -- c
Usage: /usr/local/x86_64-apple-darwin10.4.0/bin/strip <option(s)> in-file(s)

I just got access to a macbook running snow leopard and i get this
build error when it starts using strip, not sure what it is or does,
seems to be related in creating dynamic library.

Not sure if anyone else has come across this i simply used:

../gcc-dev/configure --enable-languages=c

Just to get a gcc bootstrap.

--Phil



More information about the Gcc-help mailing list