delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/22/08:00:29

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's going on?
Date: Sun, 22 Feb 1998 13:59:19 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 42
Message-ID: <34F02127.10A46B17@LSTM.Ruhr-UNI-Bochum.De>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980222133942 DOT 19567V-100000 AT is>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019