Darwin build error
Philip Herron
redbrain@gcc.gnu.org
Sat Aug 28 09:54:00 GMT 2010
On 27 August 2010 22:52, Philip Herron <redbrain@gcc.gnu.org> wrote:
> 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
>
I seemed to have fixed the error i compiled and installed cvs binuilts
and it installed a version of strip it didnt seem to like i guess and
when i removed it i haven't had a problem. Maybe i need to look into
how to get binuilts on mac, i was hoping to get gold compiled and
installed maybe its not supported yet maybe Ian knows?
--Phil
More information about the Gcc-help
mailing list