Article View: gnu.gcc.help
Article #51597gcc-2.3.3 on decstation doesn't look in /usr/lib or /lib :-(
From: Michael Allen
Date: Fri, 07 May 1993 17:11
Date: Fri, 07 May 1993 17:11
29 lines
1723 bytes
1723 bytes
I have installed gcc-2.3.3 on a decstation running ultrix 4.2. I ran
$ cat config.status
#!/bin/sh
# GCC was configured as follows:
./configure --prefix=/afs/ssc.gov/home/a/allen/local --target=mips-dec-ultrix4.2
echo host=mips-dec-ultrix4.2 target=mips-dec-ultrix4.2 build=mips-dec-ultrix4.2
Everything went fine, but compiling leads to the error message:
Can't locate file for: -lc
!
further investigation revealed that the link stage was not including
a search of /usr/lib and /lib. I tried fiddling with the specs file,
but couldn't get the flags put in the "right" place (I want
-L/usr/local/lib -L/usr/lib -L/lib after all the other directories).
Any ideas?
-Thanks,
Michael
--
--------------------------------------------------
But those who toiled knew nothing of the dreams of
Those Who Planned;
And the minds who planned the Tower of Babel
Cared nothing for the workers who built it.
-Metropolis
Technical Details
Message-ID:
<ALLEN.93May7111129@golem.ssc.gov>Path:
arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!sunova.ssc.gov!allenShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ab85096be2039fe4,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-07 09:59:22 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!math.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!sunova.ssc.gov!allen From: allen@golem.ssc.gov (Michael Allen) Subject: gcc-2.3.3 on decstation doesn't look in /usr/lib or /lib :-( Message-ID: <ALLEN.93May7111129@golem.ssc.gov> Sender: usenet@sunova.ssc.gov (News Admin) Nntp-Posting-Host: golem.ssc.gov Reply-To: allen@ssc.gov Organization: SSC Laboratory, Dallas, TX Distribution: gnu Date: Fri, 7 May 1993 17:11:29 GMT Lines: 29