This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

how to build shared libraries with GCC 2.95.1 an HPUX 10.0 ?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]