s***@gmail.com
2014-02-17 02:02:19 UTC
Hi, I'm trying to compile pcc-libs under OS X Snow Leopard. pcc itself compiles and installs fine, but pcc-libs brings up errors with make.
-bash-3.2$ uname -a
Darwin my-macbook.home 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
-bash-3.2$ make
===> libsoftfloat
make[1]: Nothing to be done for `all'.
<=== libsoftfloat
===> libpcc
pcc -O -I. -DTARGET_LITTLE_ENDIAN=1 -Dos_darwin -isystem ../libpcc/include -c ssp.c
/usr/include//secure/_string.h, line 88: warning: illegal combination of pointer and integer
/tmp/ctm.AoSRir:4:unknown section type: @progbits
/tmp/ctm.AoSRir:4:Rest of line ignored. 1st junk character valued 32 ( ).
make[1]: *** [ssp.o] Error 1
make: *** [all] Error 2
-bash-3.2$
-bash-3.2$ uname -a
Darwin my-macbook.home 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
-bash-3.2$ make
===> libsoftfloat
make[1]: Nothing to be done for `all'.
<=== libsoftfloat
===> libpcc
pcc -O -I. -DTARGET_LITTLE_ENDIAN=1 -Dos_darwin -isystem ../libpcc/include -c ssp.c
/usr/include//secure/_string.h, line 88: warning: illegal combination of pointer and integer
/tmp/ctm.AoSRir:4:unknown section type: @progbits
/tmp/ctm.AoSRir:4:Rest of line ignored. 1st junk character valued 32 ( ).
make[1]: *** [ssp.o] Error 1
make: *** [all] Error 2
-bash-3.2$