home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aux / 4378 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.2 KB

  1. Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!bowen.rick.cs.ubc.ca!not-for-mail
  2. From: w1y092@rick.cs.ubc.ca (Steven David Gribble)
  3. Newsgroups: comp.unix.aux
  4. Subject: Gcc (one last time!)
  5. Date: 18 Dec 1992 15:19:29 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Lines: 18
  8. Distribution: world
  9. Message-ID: <1gtma1INNk2s@bowen.rick.cs.ubc.ca>
  10. NNTP-Posting-Host: bowen.rick.cs.ubc.ca
  11.  
  12. OK - here's an easy one...I've finally gotten GCC successfully downloaded
  13. and detared - the advice of dumping it to MacPartition and changing the
  14. creator/type to 'A/UX' and 'BIN ' worked!  Thanks to all the people who helped
  15. with that.
  16.  
  17. Now, I'm trying to get various programs of mine compiled.  Just to try gcc
  18. out, I started with the infamous 'hello world' program - typing
  19. 'gcc hello.c' faithfully produced the a.out executable that would print
  20. hello world upon execution.  However, I tried compiling by first doing
  21. 'gcc -c hello.c' and then 'gcc -o hello hello.o'.  This compilation worked,
  22. but now when the executable is run, nothing gets displayed!  The same seemed
  23. to happen with A/UX's own cc compiler.
  24.  
  25. What am I missing?
  26.  
  27. Thanks very much,
  28. Steve "full of questions" Gribble
  29. w1y092@rick.cs.ubc.ca
  30.