🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46660

gcc -fpic passes -k flag to as; as complains

#46660
From: Isidro Castineyra
Date: Wed, 02 Nov 1994 14:59
22 lines
1249 bytes
While building perl5 for sparc-sun-sun4.1, gcc gets called with option
-fPIC. gcc then calls as with option -k, which the assembler does not
recognize.

I am using gcc version 2.6.0 and GNU assembler version 2.5.1. The
compiler spec file contains the lines:

*asm:
 %| %{!pg:%{!p:%{fpic:-k} %{fPIC:-k}}}

which might be part of the problem, but this spec file came straight
out of the build of gcc.

Any help will be much appreciated.

Thanks,
Isidro


Isidro Castineyra                                 (isidro@bbn.com)   
Bolt Beranek and Newman,  Incorporated		  (617) 873-6233
10 Moulton Street, Cambridge, MA 02138		  USA
Technical Details
Message-ID: <3989fo$oc6@info-server.bbn.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!news2.near.net!info-server.bbn.com!isidro

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,436eea015631fb2d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-02 06:59:04 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!news2.near.net!info-server.bbn.com!isidro
From: isidro@bbn.com (Isidro Castineyra)
Newsgroups: gnu.gcc.help
Subject: gcc -fpic passes -k flag to as; as complains
Date: 2 Nov 1994 14:59:04 GMT
Organization: BBN Inc.
Lines: 25
Distribution: na
Message-ID: <3989fo$oc6@info-server.bbn.com>
NNTP-Posting-Host: mjollnir.bbn.com