Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.0.4 on Solaris 2.6, shared (dynamic) library issues

"John H. Robinson, IV" wrote:
> eventually, i found the problem in the configure script: it thinks that
> the proper flag for shared libraries is a -G, however, for my version of
> gcc
> [jhriv@chao:~]% gcc --version
> 2.95.2
>     the proper flag is -shared.

Odd, because we have gcc 2.95.2 on this Solaris 2.6 system (OS is given
by gcc as sparc-sun-solaris2.6) and it accepts -G and produces shared
libraries without any extra effort.  Have a look in the specs file,
whose location is given by gcc -v.  I have some hieroglyphics after
`*link:' which include `%{G:-G}', which I think means `accept the option
-G during the linker phase and passes it down to the linker itself as

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author