Can't create shared lib on HPUX 10.20 with egcs v1.0.1
Matthew J. Wright
matt@cs.byu.edu
Thu Jan 8 08:04:00 GMT 1998
On Thu, 8 Jan 1998, Graham Hudspith wrote:
> Dear EGCS,
>
> Built and installed:
>
> gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)
>
> on HPUX 10.20 using './configure --with-gnu-as' with GNU as:
>
> GNU assembler version 2.8.1 (hppa1.1-hp-hpux10.20)
>
> Can't seem to build a shared library that involves an STL
> ^^^^^^^^^^^^^^^
> container (can build shared libraries otherwise).
> ^^^^^^^^^
I think your problem is giving configure the "--enable-shared" flag. Then
make sure that shared library is in the SHLIB_PATH variable.
I had quite a difficult time with static libs -- seemed that everything
crashed eventually when I did STL or templates. Once I used the
enable-shared flag, all of those problems went away.
--Matt
matt@byu.edu
More information about the Gcc-bugs
mailing list