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