Article View: comp.sys.sgi.misc
Article #375Re: gcc again (sorry, but no cue)
From: Shane McRoberts
Date: Tue, 19 Jul 1994 17:30
Date: Tue, 19 Jul 1994 17:30
41 lines
2670 bytes
2670 bytes
J.J. Merelo Guervos (jmerelo@kal-el.ugr.es) wrote:
: This is, like, the umptieth time I post here, but up to now nobody has come
: up with the solution. I _badly_ need c++, that's why I keep on trying to make
: gcc work.
: Well, I have tried like 20 times to unpack compiled versions of gcc and compile
: uncompiled versions. I have already posted what happened when I tried to compile,
: and here is what happens when I try to compile with gcc 2.5.7 downloaded from
: archive.latrobe...
: gcc hello.c
: /usr/bin/ld:
: Archive: /usr/local/lib/gcc-lib/iris/2.5.7/libgcc.a has no table of contents,
: add one with 'ar ts'
: collect2: ld returned 1 exit status
When libraries ("archives") are copied, their modification dates change
and the linker thinks that the table of contents of the archive is
out of date. On SunOS and other BSD systems, you type
"ranlib xxx.a" to fix this (or "ranlib -t xxx.a) if you know the TOC
is really up to date. I'd guess from the error message you got that
all you need to do is go to the directory where libgcc.a is and type
ar ts libgcc.a
It wouldn't hurt to do "man ar" first just to make sure you understand
the operation you are performing.
: I know there must be some problem here with _my_ system; since if that happened
: to each one, it would be a FAQ. I am using version 4.0.5H of Iris, version 4.0.1
: PLEASE HELP!!!!!
: JJ Merelo
Shane
===============================================================================
j.shane.mcroberts |
mitek systems, inc.| We are currently experiencing technical difficulties that
| prevent replies to this posting. Please send mail to
jsm@miteksys.com | <== this address.
===============================================================================
Technical Details
Message-ID:
<30h2k4$3c3@news.cerf.net>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!nic-nac.CSU.net!gopher.sdsc.edu!news.cerf.net!mitekgold1!jsmReferences:
<306a92$g1i@obelix.cica.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,be30656b288cc61c X-Google-Attributes: gid100159,public X-Google-Thread: 10ba33,be30656b288cc61c X-Google-Attributes: gid10ba33,public X-Google-ArrivalTime: 1994-07-19 11:02:12 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!nic-nac.CSU.net!gopher.sdsc.edu!news.cerf.net!mitekgold1!jsm From: jsm@mitekgold1 (Shane McRoberts) Newsgroups: comp.sys.sgi.misc,gnu.g++.help Subject: Re: gcc again (sorry, but no cue) Followup-To: comp.sys.sgi.misc,gnu.g++.help Date: 19 Jul 1994 17:30:44 GMT Organization: CERFnet Lines: 41 Distribution: world Message-ID: <30h2k4$3c3@news.cerf.net> References: <306a92$g1i@obelix.cica.es> NNTP-Posting-Host: miteksys.com X-Newsreader: TIN [version 1.2 PL0]