home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!cs.utexas.edu!torn!news.ccs.queensu.ca!mips2!tom
- From: tom@mips2.phy.queensu.ca (Tom Radcliffe)
- Subject: Building gcc 2.3.3 on mips 3240
- Message-ID: <C0rHF2.L87@knot.ccs.queensu.ca>
- Keywords: mips, gcc 2.3.3
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Reply-To: tom@mips2.phy.queensu.ca (Tom Radcliffe)
- Organization: Dept. of Physics, Queen's University at Kingston
- Date: Tue, 12 Jan 1993 22:06:37 GMT
- Lines: 33
-
- 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?
-
-
-
-