GCC problems on 6.517

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

GCC problems on 6.517

Unread postby semi-fly » Sun Jul 06, 2003 3:15 pm

After upgrading to 6.5.17 I get an error message when using gcc:
bash-2.05b$ /usr/freeware/bin/gcc -o test test.c
gcc: installation problem, cannot exec `as': No such file or directory


Here's version info and what not:
bash-2.05b$ gcc -v
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.2/specs
Configured with: ../configure --prefix=/usr/freeware --enable-version-specific-runtime-libs --disable-shared --enable-threads --enable-haifa --disable-c-mbchar
Thread model: single
gcc version 3.2.2

Its been a long time since I last attempted to compile anything, so the install might have been broken before the upgrade. Any suggestions? :cry:

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Re: GCC problems on 6.517

Unread postby nekonoko » Mon Jul 07, 2003 12:03 am

It sounds like at least part of the Developer Foundation is not installed (compiler_dev.sw.base).

http://freeware.sgi.com/Installable/gcc-3.2.2.html

This gcc requires the SGI back-end (assembler and linker) since the GNU back-end (binutils) doesn't yet support the new SGI ABIs.

The SGI back end (including an assembler and linker supporting the n32 and 64 ABIs) plus all the bits and pieces needed for gcc (headers, libraries, runtime startup files, etc.) are included for free with any IRIX 6.5 distribution on the 2 CDs titled Development Foundation and Development Libraries (in other words you don't need to have the SGI IDO in order to use gcc.) In recent SGI compiler releases, the SGI assembler and linker are in the subsystem compiler_dev.sw.base. For older IRIX 6.x releases you can download the IRIX Development Foundation and Libraries from SGI Developer Central.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Mon Jul 07, 2003 5:28 am

How depressing. Closest discription I can find under swmgr is the "base compiler execution environment". Lets hope that sgi starts up the end-user program quick. :?

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 11:31 am
Location: Maryland
Contact:

Unread postby wolflord » Mon Jul 07, 2003 7:56 am

I had that problem too, what happend was that I didn't to the upgrade correctly and that messed up the links and such. What I did was to re-do my upgrade and re-read the Dev Foundations and Dev. libraries cds in with it and it worked out after that. So you'd do the above in the same way you did before. Or just re-installing the Dev Foundations & Dev libraries cd's should work as well.

After that I managed the correctly do upgrades with this:

keep *
i U
keep incompleteoverlays
go

And I haven't had problems since.
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Mon Jul 07, 2003 8:21 am

wolflord wrote:I had that problem too, what happend was that I didn't to the upgrade correctly and that messed up the links and such. What I did was to re-do my upgrade and re-read the Dev Foundations and Dev. libraries cds in with it and it worked out after that. So you'd do the above in the same way you did before. Or just re-installing the Dev Foundations & Dev libraries cd's should work as well.

After that I managed the correctly do upgrades with this:

keep *
i U
keep incompleteoverlays
go

And I haven't had problems since.

except that I don't have the Dev Foundation CD's yet. :cry:

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 11:31 am
Location: Maryland
Contact:

Unread postby wolflord » Mon Jul 07, 2003 8:50 am

They came with any full IRIX 6.5 install set...or do you not have that?
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Mon Jul 07, 2003 10:32 am

wolflord wrote:They came with any full IRIX 6.5 install set...or do you not have that?

Nope. I've got two IBM sca drives, both pre-installed with Irix.

User avatar
chicago-joe
Posts: 324
Joined: Fri May 09, 2003 9:01 am
Location: Chicago, IL
Contact:

Unread postby chicago-joe » Mon Jul 07, 2003 11:33 am

This gcc requires the SGI back-end (assembler and linker) since the GNU back-end (binutils) doesn't yet support the new SGI ABIs. The SGI back end (including an assembler and linker supporting the n32 and 64 ABIs) plus all the bits and pieces needed for gcc (headers, libraries, runtime startup files, etc.) are included for free with any IRIX 6.5 distribution on the 2 CDs titled Development Foundation and Development Libraries (in other words you don't need to have the SGI IDO in order to use gcc.) In recent SGI compiler releases, the SGI assembler and linker are in the subsystem compiler_dev.sw.base. For older IRIX 6.x releases you can download the IRIX Development Foundation and Libraries from SGI Developer Central.


The versions I have are:

Base Compiler Dev Env 7.2.1
C Headers and Libs 7.2.1
C++ Headers and Libs 7.2.1

Are these the correct versions of these files to work with gcc 3.2.2 or are there newer versions I should use on an Octane with IRIX 6.5.20f?

Thanks,

Joe

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 11:31 am
Location: Maryland
Contact:

Unread postby wolflord » Mon Jul 07, 2003 12:06 pm

chicago-joe wrote:The versions I have are:

Base Compiler Dev Env 7.2.1
C Headers and Libs 7.2.1
C++ Headers and Libs 7.2.1

Are these the correct versions of these files to work with gcc 3.2.2 or are there newer versions I should use on an Octane with IRIX 6.5.20f?

Thanks,

Joe


Thoes are actually the Front-end pieces. The back-end parts are on the Dev. Foundation and Dev. Libraries cd's that came with a full distribution of 6.5.x (i.e. the 20 some cd set). All you need are thoes back-end parts for GCC, the Front-end parts are for MipsPro.
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Mon Jul 07, 2003 7:49 pm

So, would this set of software contain the needed Dev Foundation disks required to run gcc?
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... gory=11223

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 11:31 am
Location: Maryland
Contact:

Unread postby wolflord » Tue Jul 08, 2003 5:12 am

Yes.
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
semi-fly
Posts: 786
Joined: Fri Feb 21, 2003 5:29 am
Location: Ypsitucky, MI
Contact:

Unread postby semi-fly » Tue Jul 08, 2003 6:01 am

wolflord wrote:Yes.


Thanks for the help. :)


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 3 guests