🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #76

gcc-2.1 on sgi Iris 4d

#76
From: Marc Van-Woerkom
Date: Tue, 07 Apr 1992 08:30
62 lines
1527 bytes
Hi GNU folks!

If you have a sgi Iris and want only to compile C and C++ then copy those two
files in your GNU directory, read and apply them!  :-)


mkgcc-2.1:

#
# shellscript to compile gcc-2.1 (ONLY C, C++) on a sgi iris4d
#
#
# usage:  nohup csh mkgcc-2.1 &
#
#
# Marc van Woerkom, 7.4.92                Email: mv@ac.maus.de
# donated to the GNU project
#

# Note:  first apply this patch after
#           "configure iris4d"
#
#        Makefile:   delete line with  INSTALL=install -c
#

# stage 1
make LANGUAGES=c >&log1

# stage 2
make stage1 >&log2
make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" LANGUAGES="c c++" >&log3
/bin/rm -r stage1

# stage 3
make stage2 >&log4
make CC=stage2/gcc CFLAGS="-g -O -Bstage2/" LANGUAGES="c c++" >&log5

# compare stages 2 and 3
sh cmp_ecoff >&log6

# install stuff
make CC=stage2/gcc LANGUAGES="c c++" install >&log7

# install collect2
make CC="stage2/gcc -O" LANGUAGES="c c++" install-collect2 >&log8

# The happy end..


cmp_ecoff:

# compare ecoff objs (bourne shell)
for file in *.o; do
tail +10c $file > foo1
tail +10c stage2/$file > foo2
cmp foo1 foo2 || echo $file
done

----


Enjoy & Bye, Marc
Technical Details
Message-ID: <A48571@AC.maus.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!uniol!hb.maus.de!ac.maus.de!Marc_Van-Woerkom

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!uniol!hb.maus.de!ac.maus.de!Marc_Van-Woerkom
From: Marc_Van-Woerkom@ac.maus.de (Marc Van-Woerkom)
Newsgroups: gnu.gcc.help
Subject: gcc-2.1 on sgi Iris 4d
Message-ID: <A48571@AC.maus.de>
Date: 7 Apr 92 08:30:00 GMT
Organization: MausNet
Lines: 62
X-Gateway: MausGate/News 1.04