This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how to build shared libraries with GCC 2.95.1 an HPUX 10.0 ?
- To: help-gcc at gnu dot org
- Subject: how to build shared libraries with GCC 2.95.1 an HPUX 10.0 ?
- From: "Dr. Armin Tschammer" <tscha00a at oi42 dot kwu dot siemens dot de>
- Date: Thu, 07 Oct 1999 11:29:01 +0200
- Newsgroups: gnu.gcc.help
- Organization: Siemens Business Services
- Xref: wodc7nx0 gnu.gcc.help:1299
Hi,
I have installed the GCC-Compiler (2.95.1) on a 10.20 HPUX platform,
and now I would like to build a shared library from two object files
which I compiled in the following way:
g++ -fpic -c a.C
g++ -fpic -c tt1_wrap.c
g++ -shared -fpic a.o b.o -o x.sl
I got the following message:
/usr/ccs/bin/ld: Procedure labels require the P' selector - use the P'
selector on code symbol
"L$0139" in file tt1_wrap.o
collect2: ld returned 1 exit status
Until now I have not found any hint in the man-pages, how I
have to link.
Could someone help me, I would like to read the f... manual if I would
know which manual !!
Armin