This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to build shared libraries with GCC 2.95.1 an HPUX 10.0 ?
- To: help-gcc at gnu dot org
- Subject: Re: how to build shared libraries with GCC 2.95.1 an HPUX 10.0 ?
- From: Joerg Faschingbauer <jfasch at hyperwave dot com>
- Date: 08 Oct 1999 12:14:54 +0200
- Newsgroups: gnu.gcc.help
- Organization: Graz University of Technology, Austria
- References: <37FC67DD.FACC70A6@oi42.kwu.siemens.de>
- Xref: wodc7nx0 gnu.gcc.help:1326
"Dr. Armin Tschammer" <tscha00a@oi42.kwu.siemens.de> writes:
> 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 !!
You haven't read the install/SPECIFIC file where it recommends using
the GNU assembler, have you?
Joerg