public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld error gcc-2.95.1/IRIX6.5.5 (help)
@ 1999-11-10 16:56 Dave Encisco
  1999-11-10 19:26 ` Tim Prince
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dave Encisco @ 1999-11-10 16:56 UTC (permalink / raw)
  To: help-gcc

Could someone please point me to the notes on how to fix the ld
problem when compiling 2.95.1 on IRIX 6.5.5. I get the following
error:

ld: FATAL   12 : Expecting o32 objects: intl.o is n32

I remember we use to have specify our linker to be old_ld is this
still true? It's been awhile since I've compiled gcc.

Thanks!
Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ld error gcc-2.95.1/IRIX6.5.5 (help)
  1999-11-10 16:56 ld error gcc-2.95.1/IRIX6.5.5 (help) Dave Encisco
@ 1999-11-10 19:26 ` Tim Prince
  1999-11-30 23:28   ` Tim Prince
  1999-11-11 10:20 ` Matthew Majka
  1999-11-30 23:28 ` Dave Encisco
  2 siblings, 1 reply; 6+ messages in thread
From: Tim Prince @ 1999-11-10 19:26 UTC (permalink / raw)
  To: help-gcc

>when compiling 2.95.1 on IRIX 6.5.5. I get the following
>error:
>
>ld: FATAL   12 : Expecting o32 objects: intl.o is n32
>

The simple way out is not to attempt to use -o32 at all.  If using SGI/MipsPro
C to bootstrap, set the environment variable CC='cc-n32' or take some
equivalent action.
Tim Prince
tprince@computer.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ld error gcc-2.95.1/IRIX6.5.5 (help)
  1999-11-10 16:56 ld error gcc-2.95.1/IRIX6.5.5 (help) Dave Encisco
  1999-11-10 19:26 ` Tim Prince
@ 1999-11-11 10:20 ` Matthew Majka
  1999-11-30 23:28   ` Matthew Majka
  1999-11-30 23:28 ` Dave Encisco
  2 siblings, 1 reply; 6+ messages in thread
From: Matthew Majka @ 1999-11-11 10:20 UTC (permalink / raw)
  To: help-gcc

On Wed, 10 Nov 1999, Dave Encisco wrote:

> Could someone please point me to the notes on how to fix the ld
> problem when compiling 2.95.1 on IRIX 6.5.5. I get the following
> error:
> 
> ld: FATAL   12 : Expecting o32 objects: intl.o is n32
> 
> I remember we use to have specify our linker to be old_ld is this
> still true? It's been awhile since I've compiled gcc.

Newer versions of GCC support n32/n64.  If your compiler was
built for mips-sgi-irix5.3, it was configured for o32 and
you need to add "-_SYSTYPE_SVR4 -32 -old_ld" to the end of
the link line in the specs file
(<prefix>/lib/gcc-lib/mips-sgi-irix5.3/<version>/specs).  If
your compiler was built for mips-sgi-irix6.5, it was
configured for n32/n64 (no o32 support yet to my knowledge)
and you should make sure you include '-mabi=n32' in the link
command.

Hope this helps.. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ld error gcc-2.95.1/IRIX6.5.5 (help)
  1999-11-11 10:20 ` Matthew Majka
@ 1999-11-30 23:28   ` Matthew Majka
  0 siblings, 0 replies; 6+ messages in thread
From: Matthew Majka @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

On Wed, 10 Nov 1999, Dave Encisco wrote:

> Could someone please point me to the notes on how to fix the ld
> problem when compiling 2.95.1 on IRIX 6.5.5. I get the following
> error:
> 
> ld: FATAL   12 : Expecting o32 objects: intl.o is n32
> 
> I remember we use to have specify our linker to be old_ld is this
> still true? It's been awhile since I've compiled gcc.

Newer versions of GCC support n32/n64.  If your compiler was
built for mips-sgi-irix5.3, it was configured for o32 and
you need to add "-_SYSTYPE_SVR4 -32 -old_ld" to the end of
the link line in the specs file
(<prefix>/lib/gcc-lib/mips-sgi-irix5.3/<version>/specs).  If
your compiler was built for mips-sgi-irix6.5, it was
configured for n32/n64 (no o32 support yet to my knowledge)
and you should make sure you include '-mabi=n32' in the link
command.

Hope this helps.. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* ld error gcc-2.95.1/IRIX6.5.5 (help)
  1999-11-10 16:56 ld error gcc-2.95.1/IRIX6.5.5 (help) Dave Encisco
  1999-11-10 19:26 ` Tim Prince
  1999-11-11 10:20 ` Matthew Majka
@ 1999-11-30 23:28 ` Dave Encisco
  2 siblings, 0 replies; 6+ messages in thread
From: Dave Encisco @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

Could someone please point me to the notes on how to fix the ld
problem when compiling 2.95.1 on IRIX 6.5.5. I get the following
error:

ld: FATAL   12 : Expecting o32 objects: intl.o is n32

I remember we use to have specify our linker to be old_ld is this
still true? It's been awhile since I've compiled gcc.

Thanks!
Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ld error gcc-2.95.1/IRIX6.5.5 (help)
  1999-11-10 19:26 ` Tim Prince
@ 1999-11-30 23:28   ` Tim Prince
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Prince @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

>when compiling 2.95.1 on IRIX 6.5.5. I get the following
>error:
>
>ld: FATAL   12 : Expecting o32 objects: intl.o is n32
>

The simple way out is not to attempt to use -o32 at all.  If using SGI/MipsPro
C to bootstrap, set the environment variable CC='cc-n32' or take some
equivalent action.
Tim Prince
tprince@computer.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-10 16:56 ld error gcc-2.95.1/IRIX6.5.5 (help) Dave Encisco
1999-11-10 19:26 ` Tim Prince
1999-11-30 23:28   ` Tim Prince
1999-11-11 10:20 ` Matthew Majka
1999-11-30 23:28   ` Matthew Majka
1999-11-30 23:28 ` Dave Encisco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).