🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52448

gcc on ultrix?

#52448
From: Stephen Lee
Date: Thu, 24 Sep 1992 03:36
52 lines
2278 bytes
I'm trying to compile gcc on ultrix 4.2a.  However,

1) make tries to use the -J switch on the machine's RISC C compiler, 
   which confuses it and return an error.

I run make with

make LANGUAGE=c X_CPPFLAGS=

instead and it breaks at one of the file, saying 'internal switch
table full.  Increase default [some switch, forgot].

Okay.  Increase and recompile that particular line.  Fine.

continue with

make LANGUAGE=c X_CPPFLAGS=

This time it makes gcc, but when it comes to the line

rm -f tmplibgcc2.a

set -e;  for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3
_negdi2  _lshrdi3 _lshldi3 _ashldi3 _ashrdi3   _udivmoddi4
_cmpdi2 _ucmpdi2 _floatdidf _floatdisf  _fixunsdfsi _fixunssfsi
_fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi  _varargs _eprintf
_builtin_new _builtin_New _builtin_del  _bb _shtab _clear_cache
_trampoline __main _exit;  do    echo ${name};    ./gcc -O2    -g
-B./ -g1 -I. -I. -I./config -c -DL${name}        ./libgcc2.c -o
${name}.o;    if [ $? -eq 0 ] ; then true; else exit 1; fi;    ar
rc tm plibgcc2.a ${name}.o;    rm -f ${name}.o;  done

_muldi3
cpp: error /usr/tmp/cca04503.s:1: undefined control
cpp: error /usr/tmp/cca04503.s:37: undefined control
cpp: error /usr/tmp/cca04503.s:39: undefined control

It gives the above error message.  If I repeat I get a different
filename (e.g. cca04617.s instead of cca04503.s) on the error line.
This line is apparaently using the freshly-built gcc but chokes on the
freshly-built cpp too.  What's wrong?  How can I correct it?

Rgds
Stephen

P.S.  The configure command I used are

configure vax-ultrix4.2

or 

configure vax-ultrix4.2a
Technical Details
Message-ID: <1992Sep24.033658.20588@piccolo.cit.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux3!sl14

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9426aaba51d2a21e,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-09-23 16:00:58 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux3!sl14
From: sl14@crux3.cit.cornell.edu (Stephen Lee)
Subject: gcc on ultrix?
Message-ID: <1992Sep24.033658.20588@piccolo.cit.cornell.edu>
Sender: news@piccolo.cit.cornell.edu (USENET News System)
Nntp-Posting-Host: crux3.cit.cornell.edu
Organization: Cornell University, Ithaca, NY
Date: Thu, 24 Sep 92 03:36:58 GMT
Lines: 52