home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 1992 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.6 KB

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!texsun!digi!rendyn1!gordonm
  2. From: gordonm@rendyn1.uucp (Gordon Marler ext. 4609)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Building gcc on SCO 3.2v4
  5. Keywords: Posix Source weird defines
  6. Message-ID: <1992Aug26.231710.788@rendyn1.uucp>
  7. Date: 26 Aug 92 23:17:10 GMT
  8. Distribution: na
  9. Organization: Reynadyne Data Systems
  10. Lines: 36
  11.  
  12.  
  13.     I've been trying to build gcc v2.2.2 on SCO 3.2v4 (WITH a development
  14. system).  Here are the steps I take, and the problem that occurs:
  15.  
  16. 1. configure --target=i386-*-sco3.2v4
  17.     Everything links up well here, except that it seems that tm.h is
  18.     symbolically linked to config/i386sco.h instead of config/i386sco4.h
  19.  
  20. 2. make LANGUAGES=c
  21.     Everything compiles well.
  22.  
  23. 3. make stage1
  24.     The move occurs properly with a few ignored errors about being unable to
  25.     access the protoize and unprotoize files, among others.
  26.  
  27. 4. make CC="stage1/gcc -Bstage1/" CFLAGS="-g -O" LANGUAGES=c
  28.     Everything works well until the compilation of cccp.c.  When the
  29.     link runs, the definition of fileno is not found (not surprising, since
  30.     it is a macro).  It seems that this is caused by a failure to define
  31.     _POSIX_SOURCE.
  32.  
  33.     Now I tried to link tm.h to config/i386sco4.h, which seems to define
  34. the _POSIX_SOURCE constant, but the same error occurs.  What have I done
  35. incorrectly?
  36.  
  37.  
  38. E-mail can be sent to marler@proteus.lonestar.org in preference to the
  39. addresses given in the signature.
  40.  
  41.  
  42.  
  43. -- 
  44. T. Gordon Marler        | Somewhere there's danger, somewhere there's
  45. Reynadyne Data Systems        | injustice, and somewhere else the tea is
  46. (817) 652-4693          | getting cold! -- Dr. Who
  47. ...!digi!reynard!gordonm OR  marler@bme.uta.edu
  48.