🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53236

Compiling gcc on Tektronix 4405 - Problems.

#53236
From: te_s314
Date: Sun, 16 Feb 1992 19:16
42 lines
2315 bytes
Subject: Trying to compile gcc1.40 on Tektronix 4405 machine

We've "inherited" a Tek 4405 UNIX box, and after a few successes porting
software to it, are trying out the gcc compiler version 1.40

Guess what ... serious problems.

We config.gcc'd the system to be a VAX, the only reason being that we
think the machine is probaly BSD (It's got X-Windows 10.4 on it, October
1988, which makes me doubt it could be a SYS.V machine. Anyway, it was
produced for an academic environment).

Makefile runs perfectly OK over most of the files, but we don't have any
luck at all with gnulib2.c, which generated a lot of errors referring to
invalid op-codes in the temporary .s files. After a quick bit of hunting
around in the Makefile etc, we decided that gnulib2 didn't seem to be
needed until the last stage, so we went on to stage2 ...

The command line
$ make CC=stage1/gcc -CFLAGS="-g -O -Bstage1/"
started off OK with
stage1/gcc ...[lotsa cruft] gcc.c [more cruft],
then said 
Internal Assembler Error-- Unrecognized address mode in line     clrb *(r0)
a few times, referring consistently to r0 in movb as well, then came up with
/usr/tmp/cc$$.s(line number): Error: Invalid operand [and invalid op-code]

A few invalid register expressions were mixed up in there for good measure.

Basically I think we've got a problem related to the assembler on the
system not liking the choice of VAX (the Tek is, I think, an 86000, so
why am I surprised?)

Does anyone know what alternative system-type we can use with config.gcc,
or what hacks we can put in the code to help along?

Dave Palmer    <dpalmer@uk.ac.kingston>
Computer Support,
Faculty of Technology,
Kingston Polytechnic,
U.K.
+44 81-547-2000 x2911
Technical Details
Message-ID: <1992Feb16.191612.1@titan.kingston.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!kingpol!titan.kingston.ac.uk!te_s314

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7e3371cf4c38d521,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-17 04:15:30 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!kingpol!titan.kingston.ac.uk!te_s314
From: te_s314@titan.kingston.ac.uk
Newsgroups: gnu.gcc.help
Subject: Compiling gcc on Tektronix 4405 - Problems.
Message-ID: <1992Feb16.191612.1@titan.kingston.ac.uk>
Date: 16 Feb 92 19:16:12 GMT
Sender: news@kingston.ac.uk (Network News)
Organization: Kingston Polytechnic
Lines: 42
Nntp-Posting-Host: tethys