🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52360

Help compiling gcc-2.2.2 on DECstation 5000/120 + OSF/1

#52360
From: Walter Mueller
Date: Tue, 20 Oct 1992 14:25
68 lines
3181 bytes
I can't compile gcc 2.2.2 using the follwing configuration

gcc-2.2.2 from prep.ai.mit.edu, no patches

Machine: DECstation 5000/120 running OSF/1
$uname -a
OSF1 zeno.informatik.uni-mannheim.de 1.0 1.0 mips

Compiler: /bin/cc test.c
/usr/lib/cmplrs/cc/cfe -DLANGUAGE_C -Dunix -Dmips -Dhost_mips \
-D__LANGUAGE_C__  -D__unix__ -D__mips__ -D__host_mips__ -D_CFE \
-D__osf__ -D__DSO__ -DSYSTYPE_BSD -D_SYSTYPE_BSD -DMIPSEL -D__MIPSEL__ \
-I/usr/include2.20 -Xv -EL -Xg0 -O1 -std0 -XS/tmp/ctmst006449 \
test.c > /tmp/ctmf006449

$bison -V      
GNU Bison version 1.19
bison: no grammar file given

$./configure mips-dec-osf
Linked `config.h' to `./config/xm-mips.h'
Linked `tm.h' to `./config/dec-osf1.h'
Linked `md' to `./config/mips.md'
Linked `aux-output.c' to `./config/mips.c'
Linked `tconfig.h' to `./config/xm-mips.h'
Merged x-mips.
Merged t-decstatn.
Created `Makefile'.
Links are now set up for target mips-dec-osf.

$make -k LANGUAGES=c
...
/bin/cc -Wf,-XNg1500 -Olimit 3000 -O1    -g     -I. -I. -I./config  -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/GNU/osf-dec/lib/\"  -DSTANDARD_EXEC_PREFIX=\"/usr/local/GNU/osf-dec/lib/gcc-lib/\"  -DDEFAULT_TARGET_MACHINE=\"mips-dec-osf\"  -c `echo ./gcc.c | sed 's,^\./,,'`
cfe: Error: gcc.c, line 347: Invalid constant expression
 static char *signed_char_spec = (1 ? "%{funsigned-char:-D__CHAR_UNSIGNED__}"     : "%{!fsigned-char:-D__CHAR_UNSIGNED__}");
 -----------------------------------^
*** Exit 1
Stop.


if i include in ./config/dec-osf1.h
#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__"

$make -k LANGUAGES=c
...

$/bin/cc -Wf,-XNg1500 -Olimit 3000 -O1    -g     -I. -I. -I./config  -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/GNU/osf-dec/lib/\"  -DSTANDARD_EXEC_PREFIX=\"/usr/local/GNU/osf-dec/lib/gcc-lib/\"  -DDEFAULT_TARGET_MACHINE=\"mips-dec-osf\"  -c `echo ./gcc.c | sed 's,^\./,,'`
cc -Wf,-XNg1500 -Olimit 3000 -O1    -g   -o gccnew gcc.o version.o obstack.o ` case "cc -Wf,-XNg1500 -Olimit 3000 -O1" in "cc -Wf,-XNg1500 -Olimit 3000 -O1") echo  ;; esac `  -lmld
ld:
Using archive /usr/lib/cmplrs/cc/libmld.a for -lmld
libc.so: "putenv" ignored (already defined in gcc.o)
mv -f gccnew gcc
./gcc -dumpspecs > specs
echo "__foo () {}" > dummy.c
./gcc    -g -B./ -c dummy.c
*** IOT/Abort trap - core dumped





--
Walter Mueller
Universitaet Mannheim		email: walt@pi4.informatik.uni-mannheim.de
Praktische Informatik IV	tel  : +49 621 292 5056		
Seminargebaeude A5, C119	fax  : +49 621 292 5745		
-- 
Beate Klingels
Technical Details
Message-ID: <skwp!cj@rummelplatz.uni-mannheim.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!uni-heidelberg!uni-mannheim!news

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2a6ba36b7da45f02,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-10-19 22:00:16 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!uni-heidelberg!uni-mannheim!news
From: walt@pi4.informatik.uni-mannheim.de (Walter Mueller)
Subject: Help compiling gcc-2.2.2 on DECstation 5000/120 + OSF/1
Message-ID: <skwp!cj@rummelplatz.uni-mannheim.de>
Date: Tue, 20 Oct 92 14:25:35 GMT
Organization: University of Mannheim, FRG
Distribution: gnu
Lines: 68