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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!adastra!mbs
  2. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: GCC wont create executable
  5. Distribution: world
  6. Message-ID: <mbs.1i33@adastra.cvl.va.us>
  7. References:  <paul.043m@dragons.DIALix.oz.au>
  8. X-NewsSoftware: GRn-beta 1.16g (26.12.92) by Michael B. Smith & Mike Schwartz
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. Date: 26 Dec 92 17:28:23 EST
  13. Organization: Well, I haven't decided on a name yet...
  14. Lines: 23
  15.  
  16. In article <paul.043m@dragons.DIALix.oz.au> paul@dragons.DIALix.oz.au (Paul O'Neill) writes:
  17. > R(0);9:05AM> gcc hello.cc -lg++ -v
  18. > Reading specs from gcc:compilers/amiga/2.2.2/specs
  19. > gcc version 2.2.2
  20. >  gcc:compilers/amiga/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2
  21. > -D__cplusplus -Dmc68000 -Damiga -Damigados -DMCH_AMIGA -DAMIGA -D__mc68000__
  22. > -D__amiga__ -D__amigados__ -D__MCH_AMIGA__ -D__AMIGA__ -D__mc68000 -D__amiga
  23. > -D__amigados -D__MCH_AMIGA -D__AMIGA -Dmc68010 hello.cc t:cc599160.i
  24. > GNU CPP version 2.2.2 (68k, MIT syntax)
  25. >  gcc:compilers/amiga/2.2.2/cc1plus t:cc599160.i -quiet -dumpbase hello.cc -version -o
  26. > t:cc599160.s
  27. > R(1);9:05AM> _
  28. >
  29. > As you can see it ran 'cpp' and 'cc1plus' but then stopped with return code 1.
  30. >
  31. > Any suggestions anyone?
  32.  
  33. How much contiguous memory have you got when you start the g++ compile? Just
  34. to hazard a guess, you need between 2-3 MB for a "hello world", without any
  35. include files at all.
  36. --
  37.   //   Michael B. Smith
  38. \X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
  39.