Article View: gnu.gcc.help
Article #42735Compilation problem
From: Shayne G. Wright
Date: Sun, 05 Nov 1995 00:00
Date: Sun, 05 Nov 1995 00:00
55 lines
2291 bytes
2291 bytes
Hello
I am attempting to compile GNU CC 2.7.0 on a mips-sgi
machine under IRIX 5.3, but it chokes on me when trying to
compile the program 'enquire' I compiled GAS-2.3 with no
apparent errors and copied the resulting 'as.new' into
my build directory '/IRIX/depot/gcc-2.7.0/bin/' and renamed
it to as
using configure --with-gnu-as --with-gnu-ld --prefix=/IRIX/depot/gcc-2.7.0
and
make LANGUAGES=c
The compilation terminates in the following manner :
---
Script started on Sat Nov 4 16:36:45 1995
tdi 1# make LANGUAGES=c
cc -Wf,-XNh2000,-XNg1500 -Olimit 3000 -cckr -O1 -DIN_GCC -g -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/IRIX/depot/gcc-2.7.0/lib/gcc-lib/mips-sgi-irix5.3/2.7.0/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/IRIX/depot/gcc-2.7.0/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/IRIX/depot/gcc-2.7.0/lib/gcc-lib/mips-sgi-irix5.3/2.7.0/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/IRIX/depot/gcc-2.7.0/mips-sgi-irix5.3/include\"
.
.
.
./xgcc -B./ -DIN_GCC -g -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
./enquire.c: In function `cprop':
./enquire.c:1382: warning: comparison is always 0 due to limited range of data type
as0: Error: ./enquire.c, line 2:undefined assembler operation: .def
.def size_t
as0: Error: ./enquire.c, line 2:undefined assembler operation: .scl
.scl 13
.
.
.
as0: Error: ././././enquire.c, line 2807:undefined assembler operation: .etype .etype 0x4
as0: Error: ././././enquire.c, line 2807:undefined assembler operation: .endef .endef
*** Error code 1 (bu21)
tdi 2# exit
exit
script done on Sat Nov 4 16:47:59 1995
---
I was following the INSTALL directions, but obviously I am
missing something. Would it have anything to do with 'as' or 'ld'
Thanks for taking the time to read this
Shayne
Technical Details
Message-ID:
<47j1ge$m7u@sue.cc.uregina.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d084eb5ee08990ad,start X-Google-Attributes: gid11318c,public From: wright@TDI.CS.UREGINA.CA (Shayne G. Wright) Subject: Compilation problem Date: 1995/11/05 Message-ID: <47j1ge$m7u@sue.cc.uregina.ca> X-Deja-AN: 118699721 organization: University of Regina newsgroups: gnu.gcc.help