🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51042

Re: Building GCC on HP 9000 750, NEED HELP!

#51042
From: Bernd Anhaeupl
Date: Wed, 23 Jun 1993 18:45
62 lines
2760 bytes
I have just built gcc 2.4.5 for HP PA 1.1 with debugging support. You need
the following files:

	from:			file:
	-------------------------------------------------
	jaguar.cs.utah.edu:	/dist/pa-gas.u6.tar.Z
	prep.ai.mit.edu:	/pub/gnu/gcc-2.4.5.tar.gz
	prep.ai.mit.edu:	/pub/gnu/gdb-4.9.tar.gz 

At first make sure that your PATH environment variable has the directory
"." in front of "/bin" and "/usr/bin". Then, after unpacking the files 
enter the directory pa-gas.u6 and type 

	make
	cp apa /usr/local/bin/gas

Now change your working directory to "gcc-2.4.5" and type

	configure --target hppa1.1-hp-hpux --with-gnu-as --prefix=/usr/local	
	mkdir stage1
	mkdir stage2
	ln -s /usr/local/bin/gas as
	ln -s /usr/local/bin/gas stage1/as
	ln -s /usr/local/bin/gas stage2/as
	make
	make stage1
	make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
	make stage2
	make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O"
	make compare
	make install
	ln -s /usr/local/bin/gas /usr/local/lib/gcc-lib/hppa1.1-hp-hpux/2.4.5/as

Now you should have a working gcc. 
To get the debugger enter the directory "gdb-4.9" and type

	configure --target hppa1.1-hp-hpux --with-gnu-as --prefix=/usr/local
(this will take some minutes)
	make
	make install

Of course, you must have the rights to generate the necessary directories and 
files below "/usr/local". Otherwise you can change every occurance of 
"/usr/local" to a directory where you have write permission.


If you want to use the C++ Part you also need to install libg++. (Get the latest
version of libg++ from prep.ai.mit.edu and follow the instructions)
Also not, that the Objective C library, which is contained in the gcc distribution 
cannot be compiled on PA-RISC machines at the moment.

 





--
Bernd Anhaeupl			Tel.:  +49 9131 857787
LATE - Uni Erlangen			
Cauerstr. 7			Email: anhaeupl@late.e-technik.uni-erlangen.de
D-W8520 Erlangen
Technical Details
Message-ID: <20a8d1E5nv@uni-erlangen.de>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!fauern!rrze.uni-erlangen.de!late.e-technik.uni-erlangen.de!anhaeupl
References: <gnusenetC8zLIL.rF@pfm.greenie.muc.de> <1993Jun23.160141.22770@source.asset.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4414ba070fbebcd6
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-23 11:54:46 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!fauern!rrze.uni-erlangen.de!late.e-technik.uni-erlangen.de!anhaeupl
From: anhaeupl@late.e-technik.uni-erlangen.de (Bernd Anhaeupl)
Newsgroups: gnu.gcc.help
Subject: Re: Building GCC on HP 9000 750, NEED HELP!
Date: Wed, 23 Jun 1993 18:45:53 GMT
Organization: LATE, Univ. Erlangen-Nuernberg, Germany
Message-ID: <20a8d1E5nv@uni-erlangen.de>
References: <gnusenetC8zLIL.rF@pfm.greenie.muc.de>
 <1993Jun23.160141.22770@source.asset.com>
NNTP-Posting-Host: late3.e-technik.uni-erlangen.de
Lines: 62
In-Reply-To: mallderv@source.asset.com's message of Wed, 23 Jun 1993 16:01:41 GMT