home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / bug / 2677 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1006 b   |  33 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!sdd.hp.com!nigel.msen.com!emory!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csvax.cs.caltech.edu!andy
  3. From: andy@csvax.cs.caltech.edu (Andy Fyfe)
  4. Subject: minor fix for gcc 2.3.1
  5. Message-ID: <9211090728.AA20763@csvax.cs.caltech.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 9 Nov 1992 07:28:48 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 20
  12.  
  13. The file config/xm-3b1.h needs to have
  14.     #define index strchr
  15.     #define rindex strrchr
  16. added to it.
  17.  
  18. I have built gcc for the 3b1 as a cross compiler.  An option that
  19. I would find useful would be one that does the following sort of
  20. thing for libgcc1:
  21.     for name in .....
  22.         ./gcc -B./ -E -P -DL_$name .... -o $name.c libgcc1.c
  23.         <add $name.c to archive>
  24.  
  25. This would make it easy to build libgcc.a on the 3b1, namely
  26.     % <unarchive libgcc1>
  27.     % cc -c -O *.c
  28.     % <unarchive libgcc2>
  29.     % ar crv libgcc.a *.o
  30.  
  31. Andy Fyfe                    andy@cs.caltech.edu
  32.  
  33.