Andrea Riela <ml@xxxxxxxx> 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?