public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
@ 2004-06-15 17:10 lrtaylor
  2004-06-15 17:57 ` Andrea Riela
  0 siblings, 1 reply; 6+ messages in thread
From: lrtaylor @ 2004-06-15 17:10 UTC (permalink / raw)
  To: ml, llewelly, gcc-help

Hi,

You might try using -G instead of -shared to create shared libraries.
Also try not using -soname.  It's not necessary for creating shared
libraries.

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Andrea Riela
Sent: Tuesday, June 15, 2004 8:54 AM
To: llewelly@xmission.com; gcc-help@gcc.gnu.org
Subject: Re: about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3
20030304 (Apple Computer, Inc. build 1495)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
  2004-06-15 17:10 about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) lrtaylor
@ 2004-06-15 17:57 ` Andrea Riela
  0 siblings, 0 replies; 6+ messages in thread
From: Andrea Riela @ 2004-06-15 17:57 UTC (permalink / raw)
  To: gcc-help

lrtaylor@micron.com wrote:

> Hi,
> 
> You might try using -G instead of -shared to create shared libraries.
> Also try not using -soname.  It's not necessary for creating shared
> libraries.

well, this is something that I've downloaded, and now I've to compile.
I've tryed with ./configure --enable-static --disable-shared, but nothing.

There's someone that has ideas, or could help me to change the Makefile?

The file is :
http://hpoj.sourceforge.net/download.shtml

thanks for all
Regards
Andrea

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
  2004-06-10 19:37 ` llewelly
  2004-06-10 22:03   ` Andrea Riela
@ 2004-06-15 14:54   ` Andrea Riela
  1 sibling, 0 replies; 6+ messages in thread
From: Andrea Riela @ 2004-06-15 14:54 UTC (permalink / raw)
  To: llewelly, gcc-help

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
  2004-06-10 19:37 ` llewelly
@ 2004-06-10 22:03   ` Andrea Riela
  2004-06-15 14:54   ` Andrea Riela
  1 sibling, 0 replies; 6+ messages in thread
From: Andrea Riela @ 2004-06-10 22:03 UTC (permalink / raw)
  To: llewelly, gcc-help

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?

Hi,

thanks for your help :)

my gcc -v output is that:

Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

where could I download the new gcc for mac?
Have you any advice for me?

thanks for your support
Regards
Andrea

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
  2004-06-08  0:38 Andrea Riela
@ 2004-06-10 19:37 ` llewelly
  2004-06-10 22:03   ` Andrea Riela
  2004-06-15 14:54   ` Andrea Riela
  0 siblings, 2 replies; 6+ messages in thread
From: llewelly @ 2004-06-10 19:37 UTC (permalink / raw)
  To: Andrea Riela; +Cc: gcc-help

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* about  hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
@ 2004-06-08  0:38 Andrea Riela
  2004-06-10 19:37 ` llewelly
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Riela @ 2004-06-08  0:38 UTC (permalink / raw)
  To: gcc-help

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?

Thanks for your support, and patience. All advices are welcome :)

Regards
Andrea

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-15 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 17:10 about hpoj-0.91 and macosx 10.3.4 - gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) lrtaylor
2004-06-15 17:57 ` Andrea Riela
  -- strict thread matches above, loose matches on Subject: below --
2004-06-08  0:38 Andrea Riela
2004-06-10 19:37 ` llewelly
2004-06-10 22:03   ` Andrea Riela
2004-06-15 14:54   ` Andrea Riela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).