HP-UX and Shared libraries

David Lucas dlucas@checkfree.com
Thu Apr 9 11:29:00 GMT 1998


A couple of notes of interest.

egcs-2.90.27 980315 (egcs-1.0.2 release)
HP-UX rogue B.10.20 A 9000/712 2006471442 two-user license
GNU assembler version 2.7 (hppa1.1-hp-hpux10.20), using BFD version 2.7
ld: 92453-07 linker linker ld B.10.27 970417
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.

1)  I had to hack the Makefiles to make sure the -fPIC flag was added to
the PICFLAG variable and when all-targets-libstdc++ ran, it never tried
to build the shared library.
I then did the make libstdc++.so.2.8.0 and it linked with an error about
DP with missing +z or +Z flags.  So naturally I noticed that -fPIC was
missing from the link step, added it, and it created a
libstdc++.so.2.8.0 .

        A)      Did I do something wrong when running configuration?  I
wanted to
produce both static and shared libraries.
        B)      I would like the -shared flag to include the necessary
flags for the
linker to generate the PIC code.
        C)      I would like a *.sl lib generated instead of a *.so .
        D)      Will the GNU linker work or should I have used it?

2)  Are threads supported ?

Thanks in advance,
Dave



-- 
-----------------------------------------------------------------
David Lucas                    |  mailto:dlucas@checkfree.com
Staff Software Engineer        |                                  
Systems Software Development   |  My opinions are IMHO.
OFX Server Devl 08-126         |                                  
                               |
CheckFree Corporation          |  Work#  614.825.3511            
8275 High Street               |  Fax#   614.825.3104            
Columbus, OH 43235             |  http://www.checkfree.com
-----------------------------------------------------------------



More information about the Gcc-bugs mailing list