Thread View: comp.sys.sgi.misc
2 messages
2 total messages
Started by J.J. Merelo Guervos
Fri, 15 Jul 1994 15:33
gcc again (sorry, but no cue)
Author: J.J. Merelo Guervos
Date: Fri, 15 Jul 1994 15:33
Date: Fri, 15 Jul 1994 15:33
28 lines
1748 bytes
1748 bytes
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 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 of IDO. Maybe I erased accidentally some file? I re-installed IDO, just in case, but to no joy. PLEASE HELP!!!!! JJ -- JJ Merelo Grupo Geneura ---- Univ. Granada
Re: gcc again (sorry, but no cue)
Author: 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.
===============================================================================
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads