home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17820 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.3 KB

  1. Path: sparky!uunet!munnari.oz.au!uniwa!DIALix!dragons!paul
  2. From: paul@dragons.DIALix.oz.au (Paul O'Neill)
  3. Subject: GCC wont create executable
  4. Newsgroups: comp.sys.amiga.programmer
  5. X-Newsreader: TIN [version 1.1 PL8]
  6. Message-ID: <paul.043m@dragons.DIALix.oz.au>
  7. Date: 26 Dec 92 09:13:06 WST-8
  8. Organization: Private UUCP node
  9. Lines: 31
  10.  
  11. As you can see I'm trying to write a program (well, "hello, world" anyway) using GCC.
  12.  
  13. I can get it to compile now (thanks John V.) but still nothing to run.
  14.  
  15. Can anyone help?
  16.  
  17. Here is an excerpt from my shell window last time I compiled it:
  18.  
  19. R(0);9:05AM> gcc hello.cc -lg++ -v
  20. Reading specs from gcc:compilers/amiga/2.2.2/specs
  21. gcc version 2.2.2
  22.  gcc:compilers/amiga/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2
  23. -D__cplusplus -Dmc68000 -Damiga -Damigados -DMCH_AMIGA -DAMIGA -D__mc68000__
  24. -D__amiga__ -D__amigados__ -D__MCH_AMIGA__ -D__AMIGA__ -D__mc68000 -D__amiga
  25. -D__amigados -D__MCH_AMIGA -D__AMIGA -Dmc68010 hello.cc t:cc599160.i
  26. GNU CPP version 2.2.2 (68k, MIT syntax)
  27.  gcc:compilers/amiga/2.2.2/cc1plus t:cc599160.i -quiet -dumpbase hello.cc -version -o
  28. t:cc599160.s
  29. R(1);9:05AM> _
  30.  
  31. As you can see it ran 'cpp' and 'cc1plus' but then stopped with return code 1.
  32.  
  33. What does this mean?
  34.  
  35. From the second last line I assume -o t:cc599160.s is the output file, but there's
  36. nothing like it in t:.
  37.  
  38. Any suggestions anyone?
  39.  
  40. Paul
  41.  
  42.