From mboxrd@z Thu Jan 1 00:00:00 1970 From: annam@workgroup.com To: help-gcc@gnu.org Subject: gcc on HP Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <97952E213DAAD211BCF100902727E583A05F55@charon.workgroup.com> X-SW-Source: 2000-q1/msg00135.html Message-ID: <20000401000000.QiYB0A218mXSenudMIQ6Yc5MCiW-oqUSIF9IvW0NycU@z> Hello, I'm trying to use gcc on HP UX machine for building a C++ extension to Perl. The problem I'm facing is, when I use the -b option for linking with g++ an error is reported saying the ld: DP relative code in file libgcc.a(_op_new.o) - shared library must be position independent. Use +z or +Z to recompile Can anyone help me sort out this problem. Any suggestions would be of great help. Thanx in advance. Annam