home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- 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
- From: andy@csvax.cs.caltech.edu (Andy Fyfe)
- Subject: minor fix for gcc 2.3.1
- Message-ID: <9211090728.AA20763@csvax.cs.caltech.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Mon, 9 Nov 1992 07:28:48 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 20
-
- The file config/xm-3b1.h needs to have
- #define index strchr
- #define rindex strrchr
- added to it.
-
- I have built gcc for the 3b1 as a cross compiler. An option that
- I would find useful would be one that does the following sort of
- thing for libgcc1:
- for name in .....
- ./gcc -B./ -E -P -DL_$name .... -o $name.c libgcc1.c
- <add $name.c to archive>
-
- This would make it easy to build libgcc.a on the 3b1, namely
- % <unarchive libgcc1>
- % cc -c -O *.c
- % <unarchive libgcc2>
- % ar crv libgcc.a *.o
-
- Andy Fyfe andy@cs.caltech.edu
-
-