about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

llewelly@xmission.com llewelly@xmission.com
Thu Jun 10 19:37:00 GMT 2004


Andrea Riela <ml@nesys.it> writes:

> Hi folks,
> 
> I've tried to compile hpoj-0.91 in my workstation with MacOs X
> 10.3.4. I receive an error:
> 
> cc: unrecognized option `-shared'
> ld: unknown flag: -soname
> make[1]: *** [libhpojip.so.0.1] Error 1
> make: *** [just_compile] Error 2
> 
>  From Apple dev docs I've seen that "-shared: In GCC 2, generates
> shared liibraries. In GCC 3, this option is not supported, so you
> should use libtool (or use ld directly) instead. Shared libraries in
> Mac OS X may be different from those you are accustomed to on other
> platforms".
> 
> Could you help me? there's somthing that could I do?

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?



More information about the Gcc-help mailing list