🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46595

YEAH! gcc-2.6.1 and groff-1.09 on IRIX5.2

#46595
From: Thomas Goecke
Date: Thu, 03 Nov 1994 21:44
160 lines
4479 bytes
Hi there, everybody!
Try this, in order to get groff working:

o  Take gcc-2.6.1 and groff-1.09.

o  I configured gcc with:

   >configure --with-gnu-ld

   and started a script called gcc-job-2.6.1 with:

   >nohup source gcc-job-2.6. &

   So you can logout now and have a cup of tea! :-)

o  The script gcc-job-2.6.1 :

#------------------------------------------------------------------------------------
cd ./gcc-2.6.1

 
make LANGUAGES=c                CFLAGS=" "               >& ../Err_make 
# = making stage1 compiler

make stage1                                              >& ../Err_copy_stage1

make CC="stage1/xgcc -Bstage1/" CFLAGS="-O -save-temps"  >& ../Err_makestage2
# = making stage2 compiler
# -g not supported

make stage2                                              >& ../Err_copy_stage2

make CC="stage2/xgcc -Bstage2/" CFLAGS="-O -save-temps"  >& ../Err_makestage3
# = making stage3 compiler

make compare                                             >& ../Err_compare

make objc-runtime CC="stage2/xgcc -Bstage2/" CFLAGS="-O" >& ../Err_obj-run

make collect2 CC="stage2/xgcc -Bstage2/"                 >& ../Err_mk-collect2

cd ..
touch Err_READY-gcc-job
#-------------------------------------------------------------------------------------



o  In order to install gcc I used the script gcc-ins-2.6.1:
   start with:    nohup source gcc-ins-2.6.1 &

#-------------------------------------------------------------------------------------
cd ./gcc-2.6.1

make install          CC="stage2/xgcc -Bstage2/"  CFLAGS=" -O" >& ../Err_inst 

make install-libobjc  CC="stage2/xgcc -Bstage2/"  CFLAGS=" -O" >& ../Err_inst_libobj 

make install-collect2 CC="stage2/xgcc -Bstage2/"  CFLAGS=" -O" >& ../Err_inst_collect2

cd ..
touch Err_READY-gcc-inst
#-------------------------------------------------------------------------------------



o  Then configure and install groff-1.09.
   (Inside tho groff Makefile change "g=g" into "g=")

o  I did the changes applied in the file PROBLEMS, e.g.:

   >mv eqn geqn

   Create a script called 'eqn':

   > #!/bin/sh
   > if [ ${1:-""} = /usr/pub/eqnchar ] ; then shift ; fi
   > geqn $*

   and a script called 'neqn':

   > #!/bin/sh
   > if [ ${1:-""} = /usr/pub/eqnchar ] ; then shift ; fi
   > geqn -Tascii $*

   and edit the end of the nroff script to be:

   > rest=`echo ${1+"$@"} | sed -e 's+/usr/lib/tmac+/usr/local/lib/groff/tmac+'`
   > exec groff -Wall -mtty-char $T $opts $rest




o  Then rename tbl into gtbl and create a new "tbl" script:

#-----------------------------------------------------------------------------------
#!/bin/sh
# Emulate tbl with gtbl.

prog="$0"
# Default device.
T=-Tascii
opts=

for i
do
	case $1 in
	-C)
		opts="$opts -C"
		;;
	-v)
		opts="$opts -v"
		;;
	-*)
		# ignore all other options
		;;
	-)
		break
		;;

	*)
		break
		;;
	esac
	shift
done

# This shell script is intended for use with man, so warnings are
# probably not wanted.  Also load nroff-style character definitions.
# 

exec gtbl $opts ${1+"$@"}
#------------------------------------------------------------------------------------


Im sure, groff will work now (hope so)!

Greetings from old germany! Have a nice day!
Yours & Ciao
tho


         Thomas Goecke
         Dorner Weg 58
  00     42119 Wuppertal
`\__/'                  
         email:   cadadm@wrcs2.urz.uni-wuppertal.de 
         Phone #: +49-202-433 929





--

         Thomas Goecke
         Dorner Weg 58
  00     42119 Wuppertal
`\__/'                  
         email:   cadadm@wrcs2.urz.uni-wuppertal.de 
         Phone #: +49-202-433 929
Technical Details
Message-ID: <39bljp$inb@wmwap1.math.Uni-Wuppertal.DE>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.sprintlink.net!EU.net!Germany.EU.net!news.dfn.de!rrz.uni-koeln.de!RRZ.Uni-Koeln.DE!wmwap1.math.uni-wuppertal.de!cadadm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,250b134fc6c82450,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-03 13:44:25 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.sprintlink.net!EU.net!Germany.EU.net!news.dfn.de!rrz.uni-koeln.de!RRZ.Uni-Koeln.DE!wmwap1.math.uni-wuppertal.de!cadadm
From: cadadm@wrcs1.urz.uni-wuppertal.DE (Thomas Goecke)
Newsgroups: gnu.gcc.help
Subject: YEAH! gcc-2.6.1 and groff-1.09 on IRIX5.2
Date: 3 Nov 1994 21:44:25 GMT
Organization: University of Wuppertal
Lines: 160
Message-ID: <39bljp$inb@wmwap1.math.Uni-Wuppertal.DE>
NNTP-Posting-Host: wrcs2.urz.uni-wuppertal.de
X-Newsreader: TIN [version 1.2 PL2]