🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53091

gcc 2.0 for IBM-RT AOS 4.3

#53091
From: Tim Irvin
Date: Tue, 17 Mar 1992 00:11
96 lines
4107 bytes
I have been unable to compile GCC v. 2.0 on an IBM-RT running AOS 4.3.
The configuration went as follows:

   > configure rtpc-aos4.3
   Linked `config.h' to `./config/xm-romp.h'.
   Linked `tm.h' to `./config/romp.h'.
   Linked `md' to `./config/romp.md'.
   Linked `aux-output.c' to `./config/romp.c'.
   Linked `tconfig.h' to `./config/xm-romp.h'.
   Merged x-romp.
   Created `Makefile'.
   Links are now set up for target rtpc-aos4.3.

which all looked ok to me.

Then I did a 
   > make  LANGUAGES=c

and the first line was:

hc -Hnocpp    -g     -I. -I. -I./config  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc/
rtpc-aos4.3/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`
/include\"  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\"  -DLOCAL_INCL
UDE_DIR=\"/usr/local/include\"  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc/rtpc-ao
s4.3/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/sys-in
clude\"  -c `echo ./cccp.c | sed 's,^\./,,'`

which seemed ok.  Then a zillion warnings (which isn't unusual for the hc 
compiler)....  Then it did:

   hc -Hnocpp    -g     -I. -I. -I./config -c ./cexp.c
   hc -Hnocpp -c    -g     -I. -I. -I./config version.c
   hc -Hnocpp -c    -g     -I. -I. -I./config obstack.c
   hc -Hnocpp    -g   -o cccp cccp.o cexp.o version.o obstack.o `if [ x"hc -Hnoc
   pp" = x"cc" ] ; then echo ; else true; fi`
   *** Exit 1

   Stop.

And that was all she wrote.  It looks like it doesn't like the "hc", so I 
I tried "make LANGUAGES=c CC=cc" (cc is a link to hc), and it got a bit
further but still died.  First line:

> make LANGUAGES=c CC=cc
cc    -g     -I. -I. -I./config  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc/rtpc-aos
4.3/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/include
\"  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\"  -DLOCAL_INCLUDE_DIR=
\"/usr/local/include\"  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc/rtpc-aos4.3/`aw
k '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/sys-include\"
 -c `echo ./cccp.c | sed 's,^\./,,'`

Then oodles of warnings again, and then:

   cc    -g     -I. -I. -I./config -c ./cexp.c
   cc -c    -g     -I. -I. -I./config version.c
   cc -c    -g     -I. -I. -I./config obstack.c
   cc    -g   -o cccp cccp.o cexp.o version.o obstack.o `if [ x"cc" = x"cc" ] ;
   then echo ; else true; fi`
   rm -f cpp
   ln cccp cpp
   cc    -g     -I. -I. -I./config -c ./c-parse.c
more warnings, and then:
   cc -c    -g     -I. -I. -I./config c-lang.c
   cc -c    -g     -I. -I. -I./config c-lex.c
warnings, then:
   cc -c    -g     -I. -I. -I./config c-decl.c
warnings, then:
   cc -c    -g     -I. -I. -I./config c-typeck.c
warnings, then:
   cc -c    -g     -I. -I. -I./config c-convert.c
warnings, then:
   cc -c    -g     -I. -I. -I./config c-aux-info.c
   cc -c    -g     -I. -I. -I./config c-common.c
warnings, then:
   cc -c    -g     -I. -I. -I./config rtl.c
warnings, and finally:
   cc    -g   -o genattr  genattr.o rtl.o `if [ x"obstack.o" != x ] ; then echo 
   obstack.o; else true; fi` `if [ x"cc" = x"cc" -a x"" != x ] ; then echo ; els
   e true ; fi` `if [ x"" != x ] ; then echo ; else true; fi`
   *** Exit 1

   Stop.

   

Again, all the warnings are NOT unusual for anything compiled with the "hc"
compiler.  It goes a bit overboard all the time, so that doesn't concern me.

Any ideas.

Thanks,

Tim Irvin
SysAdmin
Project NORTHSTAR
Dartmouth College
Technical Details
Message-ID: <1992Mar17.001140.9650@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!hsdndev!dartvax!northstar7!irvin

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e6cf56265ca69393,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-16 23:22:17 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!hsdndev!dartvax!northstar7!irvin
From: irvin@northstar7 (Tim Irvin)
Newsgroups: gnu.gcc.help
Subject: gcc 2.0 for IBM-RT AOS 4.3
Message-ID: <1992Mar17.001140.9650@dartvax.dartmouth.edu>
Date: 17 Mar 92 00:11:40 GMT
Sender: irvin@northstar.dartmouth.edu
Reply-To: irvin@northstar.dartmouth.edu (Tim Irvin)
Organization: Project NORTHSTAR, Dartmouth College
Lines: 96