This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304(Apple Computer, Inc. build 1495)
- From: Andrea Riela <ml at nesys dot it>
- To: llewelly at xmission dot com, gcc-help at gcc dot gnu dot org
- Date: Tue, 15 Jun 2004 16:54:25 +0200
- Subject: Re: about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304(Apple Computer, Inc. build 1495)
- References: <40C50A73.7070205@nesys.it> <s3roenr5hnj.fsf@xmission.xmission.com>
llewelly@xmission.com wrote:
I seem to recall apple gcc 3.3.x (but not FSF gcc 3.3.x) supports
shared libraries on Mac OS X. I think FSF gcc 3.4 does as well.
What is the output of 'gcc -v'? Can you install and try a newer gcc
from apple?
Well, I've installed gcc 3.4.0 on my system 10.3.4, but I've always the
same problem:
cc: unrecognized option `-shared'
ld: unknown flag: -soname
make[1]: *** [libhpojip.so.0.1] Error 1
make: *** [just_compile] Error 2
this is my gcc:
iBook:~/Desktop/hpoj-0.91 user$ gcc -v
Reading specs from
/usr/local/gcc/lib/gcc/powerpc-apple-darwin7.4.0/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr/local/gcc
--enable-threads=posix --enable-shared --disable-checking
--enable-languages=c,c++ --disable-static
Thread model: posix
gcc version 3.4.0
iBook:~/Desktop/hpoj-0.91 user$ cc -v
Reading specs from
/usr/local/gcc/lib/gcc/powerpc-apple-darwin7.4.0/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/usr/local/gcc
--enable-threads=posix --enable-shared --disable-checking
--enable-languages=c,c++ --disable-static
Thread model: posix
gcc version 3.4.0
could you help me?
Thanks for your support
Regards
Andrea