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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux