🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42835

[Q] gcc2.7.0 gnu as & ld Irix 5.3 error

#42835
From: Tom Legrady
Date: Fri, 27 Oct 1995 00:00
42 lines
1973 bytes
I'm trying to compile gcc 2.7.0 on an SGI indigo2 with Irix5.3, with 
all the developer options installed. 

I compiled it fine using --without-gnu-as  --without-gnu-ld, but since 
we are developing software, we need to be able to debug, which is not 
available without gnu as. 

When I try to compile with --with-gnu-as / ld, I get error messages 
compiling at the following stage :

::: cut and paste from compilation xterm ::: (I added these backslashes | )
:::                                                                     V

stage1/xgcc -Bstage1/  -DIN_GCC   -g -O   -o genattr \
 genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` 	\
` case "stage1/xgcc -Bstage1/"@"alloca.o" 				\
in "cc -Wf,-XNh2000,-XNg1500 -Olimit 3000 -cckr -O1"@?*) echo alloca.o 	\
;; esac ` ` case "" in ?*) echo  ;; esac ` -lmld -lmalloc
collect2: ld returned 1 exit status
/usr/local/ipe/bin/ld: unrecognized option `-_SYSTYPE_SVR4'
make: *** [genattr] Error 1

::: end of cut and paste :::

The 'specs' file in stage1 contains an item:

:::cut and paste from specs file ::: ( my backslashes                  	| )
:::                                                                    	V

*link:
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{bestGnum} %{shared} 	\
%{non_shared} %{call_shared} %{no_archive} %{exact_version} 		\
%{!shared:%{!non_shared:%{!call_shared: -call_shared -no_unresolved}}}  \
-_SYSTYPE_SVR4

::: end of cut and paste :::

Any ideas what's wrong, and how I can avoid this?


Tom Legrady
Technical Details
Message-ID: <DH4JLC.F5u@cs.dal.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b40ecd90f0ffa0d9,start
X-Google-Attributes: gid11318c,public
From: legrady@cs.dal.ca (Tom Legrady)
Subject: [Q] gcc2.7.0 gnu as & ld Irix 5.3 error
Date: 1995/10/27
Message-ID: <DH4JLC.F5u@cs.dal.ca>
X-Deja-AN: 118261248
sender: legrady@ns.array.ca
organization: Array Systems Computing, Dartmouth Nova Scotia
newsgroups: gnu.gcc.help