home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gcc / help / 2901 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.9 KB  |  46 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!cs.utexas.edu!torn!news.ccs.queensu.ca!mips2!tom
  3. From: tom@mips2.phy.queensu.ca (Tom Radcliffe)
  4. Subject: Building gcc 2.3.3 on mips 3240
  5. Message-ID: <C0rHF2.L87@knot.ccs.queensu.ca>
  6. Keywords: mips, gcc 2.3.3
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Reply-To: tom@mips2.phy.queensu.ca (Tom Radcliffe)
  9. Organization: Dept. of Physics, Queen's University at Kingston
  10. Date: Tue, 12 Jan 1993 22:06:37 GMT
  11. Lines: 33
  12.  
  13. I have been trying to get gcc/g++ 2.3.3 going on a mips 3240
  14. running risc/os 4.52 (set up to look like bsd4.3)
  15. with cc 2.20.  Problems encountered so far are:
  16.  
  17.     1) cc gives segmentation violation during compile
  18.        of insn-peep.c (fixed by compiling either with
  19.        cc2.11 or gcc 1.42 -- the origin of the problem
  20.        is in the tm.h file, I think)
  21.  
  22.     2)  Although the build of the stage 1 compiler goes
  23.        ok when done with gcc 1.42, the attempt to build
  24.        the stage 2 compiler fails as follows:
  25.  
  26. % make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O"
  27.     stage1/xgcc -Bstage1/  -DIN_GCC   -g -O     -I. -I. -I./config \
  28.       -DGCC_INCLUDE_DIR=\"/usr1/local/lib/gcc-lib/mips-mips-riscos5.42bsd4.3/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
  29.       -DGPLUSPLUS_INCLUDE_DIR=\"/usr1/local/lib/g++-include\" \
  30.       -DLOCAL_INCLUDE_DIR=\"/usr1/local/include\" \
  31.       -DCROSS_INCLUDE_DIR=\"/usr1/local/lib/gcc-lib/mips-mips-riscos5.42bsd4.3/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
  32.       -DTOOLDIR=\"/usr1/local/mips-mips-riscos5.42bsd4.3/\" \
  33.       -c `echo ./cccp.c | sed 's,^\./,,'`
  34. *** Error code 1
  35. cccp.c:81: sys/time.h: No such file or directory
  36. cccp.c:82: sys/resource.h: No such file or directory
  37.  
  38. The right include directories are in the search path, so it looks
  39. like I've screwed up in the initial build somehow.  The 
  40. configuration is:  mips-mips-riscos4.52bsd4.3
  41.  
  42. Any suggestions?
  43.  
  44.  
  45.  
  46.