🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tom Radcliffe Tue, 12 Jan 1993 22:06
Building gcc 2.3.3 on mips 3240
#842
Author: Tom Radcliffe
Date: Tue, 12 Jan 1993 22:06
30 lines
1974 bytes
I have been trying to get gcc/g++ 2.3.3 going on a mips 3240
running risc/os 4.52 (set up to look like bsd4.3)
with cc 2.20.  Problems encountered so far are:

	1) cc gives segmentation violation during compile
	   of insn-peep.c (fixed by compiling either with
	   cc2.11 or gcc 1.42 -- the origin of the problem
	   is in the tm.h file, I think)

	2)  Although the build of the stage 1 compiler goes
	   ok when done with gcc 1.42, the attempt to build
	   the stage 2 compiler fails as follows:

% make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
	stage1/xgcc -Bstage1/  -DIN_GCC   -g -O     -I. -I. -I./config \
	  -DGCC_INCLUDE_DIR=\"/usr1/local/lib/gcc-lib/mips-mips-riscos5.42bsd4.3/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
	  -DGPLUSPLUS_INCLUDE_DIR=\"/usr1/local/lib/g++-include\" \
	  -DLOCAL_INCLUDE_DIR=\"/usr1/local/include\" \
	  -DCROSS_INCLUDE_DIR=\"/usr1/local/lib/gcc-lib/mips-mips-riscos5.42bsd4.3/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
	  -DTOOLDIR=\"/usr1/local/mips-mips-riscos5.42bsd4.3/\" \
	  -c `echo ./cccp.c | sed 's,^\./,,'`
*** Error code 1
cccp.c:81: sys/time.h: No such file or directory
cccp.c:82: sys/resource.h: No such file or directory

The right include directories are in the search path, so it looks
like I've screwed up in the initial build somehow.  The 
configuration is:  mips-mips-riscos4.52bsd4.3

Any suggestions?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads