Mail Archives: djgpp/1998/02/22/08:00:29
Eli Zaretskii wrote:
>
> On Sun, 22 Feb 1998, Dave Maranhao wrote:
>
> > C:\DJGPP>gcc hello.c -v
[...]
>
> That's the wierdest output I have ever seen. GCC should have invoked
> the assembler (as.exe), the linker (ld.exe) and stubify.exe after
> cc1.exe, but somehow it didn't!
>
> Also, the search paths of cpp.exe are empty(??) although the -D
> switches passed by GCC indicate that the DJGPP *is* set correctly.
> What's going on here??!!??
>
> Are you sure this is all that was printed? If not, please post the
> *exact* and *complete* output of GCC, it is vital to help you solve
> your problem(s).
I doubt it was the complete output. But then again, somebody might tell
him that
1. gcc doesn't produce .OBJ files, but .o
2. The hello.o is deleted after linking
3. The default output file name is a.out, hmm. a.exe
4. gcc -o hello.exe hello.c
will do the trick.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -