public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* linux->irix cross confusion
@ 2001-06-26  2:24 Benjamin P Myers
  2001-06-26 18:34 ` Benjamin P Myers
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin P Myers @ 2001-06-26  2:24 UTC (permalink / raw)
  To: gcc-help

Hi Folks, 

I'm having a bit of trouble building a target: mips-sgi-irix6 on 
i686-gnu-linux, host i686-gnu-linux.  I've installed binutils-2.11.2,
target mips-sgi-irix6 into /usr/local/:

> /usr/local/mips-sgi-irix6/bin/ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)
> /usr/local/mips-sgi-irix6/bin/as -v
GNU assembler version 2.11.2 (mips-sgi-irix6) using BFD version 2.11.2
...

I've copied the headers and libraries from the target machine I want to
use as per the instructions in the gcc manual, i think:

scp -r <me>@<my_irix_box>:/usr/include/*
/usr/local/mips-sgi-irix6/include/

and /usr/local/mips-sgi-irix6/lib: 
acrt1.o crt1.o ldscripts libc.so.1 libdisk.so libmalloc.so rld
cpp      crtn.o  libc.a     libcpr.so  libm.a      mcrt1.o   

it was copied over from various places on the irix box... i dunno.  i
haven't gotten to the linking part yet.  Next, It looks as if the
requirement for libgcc1.a isn't there for 3.0, so i skipped that, did a:

> cd gcc-3.0
> ./configure --with-gnu-as:/usr/local/mips-sgi-irix6/bin/as
--with-gnu-ld=/usr/local/mips-sgi-irix6/bin/ld --target=mips-sgi-irix6
> make cross

and after a lengthy build process i come to this:

/vishnu/0/dative(that's me!)/gcc-3.0/gcc/xgcc
-B/vishnu/0/dative/gcc-3.0/gcc/
-B/usr/local/mips-sgi-irix6/bin/ -B/usr/local/mips-sgi-irix6/lib/ -isystem
/usr/local/mips-sgi-irix6/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I. -I./. -I./config -I./../include -DL_muldi3 -c ./libgcc2.c -o
libgcc/./_muldi3.o
/usr/local/mips-sgi-irix6/bin/as: unrecognized option `-n32'  

I, of course have absolutely no idea what this means, but that isn't to
say i didn't try fooling with various specs files to make it go away.  No
doubt this is documented in this list's FAQ, but after having spent a few
hours searching for a clue on google (god knows i need one), i'm a little
burnt out.  Any advice anyone coudl give on this issue would be
appreciated.

Thanks!
-Ben Myers (mildly sprained systems geek)


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

* Re: linux->irix cross confusion
  2001-06-26  2:24 linux->irix cross confusion Benjamin P Myers
@ 2001-06-26 18:34 ` Benjamin P Myers
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin P Myers @ 2001-06-26 18:34 UTC (permalink / raw)
  To: gcc-help

I see now that I emailed the wrong list.
http://sources.redhat.com/ml/binutils/2001-06/msg00622.html
bummer.  maybe in a few months.

On Tue, 26 Jun 2001, Benjamin P Myers wrote:
> I'm having a bit of trouble building a target: mips-sgi-irix6 on 
> i686-gnu-linux, host i686-gnu-linux.  I've installed binutils-2.11.2,
> target mips-sgi-irix6 into /usr/local/:
> 
> > /usr/local/mips-sgi-irix6/bin/ld -v
> GNU ld version 2.11.2 (with BFD 2.11.2)
> > /usr/local/mips-sgi-irix6/bin/as -v
> GNU assembler version 2.11.2 (mips-sgi-irix6) using BFD version 2.11.2
> ...
> 
> I've copied the headers and libraries from the target machine I want to
> use as per the instructions in the gcc manual, i think:
> 
> scp -r <me>@<my_irix_box>:/usr/include/*
> /usr/local/mips-sgi-irix6/include/
> 
> and /usr/local/mips-sgi-irix6/lib: 
> acrt1.o crt1.o ldscripts libc.so.1 libdisk.so libmalloc.so rld
> cpp      crtn.o  libc.a     libcpr.so  libm.a      mcrt1.o   
> 
> it was copied over from various places on the irix box... i dunno.  i
> haven't gotten to the linking part yet.  Next, It looks as if the
> requirement for libgcc1.a isn't there for 3.0, so i skipped that, did a:
> 
> > cd gcc-3.0
> > ./configure --with-gnu-as:/usr/local/mips-sgi-irix6/bin/as
> --with-gnu-ld=/usr/local/mips-sgi-irix6/bin/ld --target=mips-sgi-irix6
> > make cross
> 
> and after a lengthy build process i come to this:
> 
> /vishnu/0/dative(that's me!)/gcc-3.0/gcc/xgcc
> -B/vishnu/0/dative/gcc-3.0/gcc/
> -B/usr/local/mips-sgi-irix6/bin/ -B/usr/local/mips-sgi-irix6/lib/ -isystem
> /usr/local/mips-sgi-irix6/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
> ./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
> -I. -I./. -I./config -I./../include -DL_muldi3 -c ./libgcc2.c -o
> libgcc/./_muldi3.o
> /usr/local/mips-sgi-irix6/bin/as: unrecognized option `-n32'  
> 
> I, of course have absolutely no idea what this means, but that isn't to
> say i didn't try fooling with various specs files to make it go away.  No
> doubt this is documented in this list's FAQ, but after having spent a few
> hours searching for a clue on google (god knows i need one), i'm a little
> burnt out.  Any advice anyone coudl give on this issue would be
> appreciated.
> 
> Thanks!
> -Ben Myers (mildly sprained systems geek)
> 
> 
> 

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

end of thread, other threads:[~2001-06-26 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-26  2:24 linux->irix cross confusion Benjamin P Myers
2001-06-26 18:34 ` Benjamin P Myers

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).