home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / bug / 3252 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!ian
  2. From: ian@cygnus.com (Ian Lance Taylor)
  3. Newsgroups: gnu.gcc.bug
  4. Subject: Minor Problem building GCC 2.3.3 on SCO systems
  5. Date: 26 Jan 1993 22:18:13 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 25
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gcc@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301262006.AA03674@tweedledumb.cygnus.com>
  12. References: <9301261825.AA23121@candidus.ma30.bull.com>
  13.  
  14.    Date: Tue, 26 Jan 93 13:25:28 -0500
  15.    From: drg@candidus.ma30.bull.com (Daniel R. Guilderson)
  16.  
  17.    I just recently retrieved the gcc-2.3.2-2.3.3 patch.  In case you have
  18.    forgotten I am the guy who had some problems building gcc-2.3.2 on SCO
  19.    UNIX 3.2v4.  The new patch is great.  I have only one minor problem to
  20.    report.  The default CFLAGS for the bootstrap compile contains a '-g'
  21.    to enable debugging.  This caused the Microsoft C compiler to become
  22.    confused.  It somehow thought it was compiling Xenix code and
  23.    apparently tried to convert OMF files.  Here is an example of the
  24.    output.
  25.  
  26.    cc -nointl  -DIN_GCC -D__STDC__=0  -g     -I. -I. -I./config -c ./cexp.c
  27.    ./cexp.c
  28.    /usr/bin/.cvtomf: fatal error -- No input file specified
  29.  
  30.    I solved the problem by redefining CFLAGS so that the '-g' flag was
  31.    turned off during the bootstrap.
  32.  
  33. I don't understand why this happened.  I just tried it again, and it
  34. didn't happen to me.  I don't even have a program /usr/bin/.cvtomf.
  35. Does this mean that you can never run ``cc -g''?  That seems peculiar.
  36.  
  37. Ian Taylor
  38.  
  39.