shared libraries on Solaris (and other SVR4 systems?)

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Wed Sep 23 06:32:00 GMT 1998


On Wed, 23 Sep 1998, Dimitri PAPADOPOULOS-ORFANOS wrote:
> the result is that the compiler is getting more and more perfect, but
> also more and more difficult to use in real world situations:
> [...]
> * undocumented but important options need hours of adjustment to
>   work such as `-fsquangle' (`-fsquangle' should really be handled
>   within `configure', modifying the top-level Makefile and adding
>   an option flag in the specs)

You can also use the following patch, but I agree that the current
situation is absolutely suboptimal.

With serious C++ code your are required to use squangling or gas on
Solaris, while on Digital Unix squangling is the only solution.

Index: decl2.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/decl2.c,v
retrieving revision 1.134
diff -r1.134 decl2.c
436c436
< int flag_do_squangling;
---
> int flag_do_squangling = 1;

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/





More information about the Gcc-bugs mailing list