Article View: gnu.gcc.help
Article #41870HPUX-8.00 and PIC problems
From: Rolf Steinbrunn
Date: Fri, 09 Feb 1996 00:00
Date: Fri, 09 Feb 1996 00:00
33 lines
1550 bytes
1550 bytes
When compiling a C-program with the -fpic option, the native assembler gives me errors like: as error: "foo.s" line 65: syntax error as error: "foo.s" line 129: syntax error . . The corresponding assemler code looks like: . . lea (%pc, __GLOBAL_OFFSET_TABLE_@GOTPC), %a5 . It looks like gcc produces assembler-code that my native assembler doesn't understand. My system is a HP900/400 running HPUX 8.00. I' using gcc-2.7.2. I installed all nescessary system-patches before the built. I compiled gcc without errors. I'm not using the gnu-assembler nor the gnu-linker, because they do not support PIC on a m68k-hp-hpux8.00 system. Isn't it possible with gcc to make PIC on my system? -- Rolf Steinbrunn stein@ibf-tiger.bau-verm.uni-karlsruhe.de The recipe was guaranteed not to fail by the company which made the shortening. But from the first the cake had acted strangely. -- John Steinbeck, 'Cannery Row'
Technical Details
Message-ID:
<4ff6p7$2ga@nz12.rz.uni-karlsruhe.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,66459c6d48616b00,start X-Google-Attributes: gid11318c,public From: stein@ibf-tiger.bau-verm.uni-karlsruhe.de (Rolf Steinbrunn) Subject: HPUX-8.00 and PIC problems Date: 1996/02/09 Message-ID: <4ff6p7$2ga@nz12.rz.uni-karlsruhe.de> X-Deja-AN: 138557172 sender: stein@ibf-goat.bau-verm.uni-karlsruhe.de (Rolf Steinbrunn) content-type: text/plain; charset=iso-8859-1 organization: University of Karlsruhe, Germany mime-version: 1.0 newsgroups: gnu.gcc.help