www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/13/05:35:07

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: (newbie needs help)Compiling C++
Date: Fri, 13 Aug 1999 03:02:11 -0400
References: <19990813001641 DOT 27934 DOT 00000332 AT ng-cj1 DOT aol DOT com>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 13 Aug 1999 07:00:31 GMT
X-ELN-Insert-Date: Fri Aug 13 00:05:15 1999
Organization: Nocturnal Aviation
Lines: 34
Mime-Version: 1.0
NNTP-Posting-Host: dialup-209.246.91.72.newyork2.level3.net
Message-ID: <37B3C2F3.E76E920A@earthlink.net>
X-Mailer: Mozilla 4.61 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


DarkAngel wrote:
> 
> when I compile my Hello World program in C++, I get no error messages or .exe
> file?  What's wrong?
> 
> C:\DJGPP>gxx -o Hello.ccp Hello.exe

The above line asks g++ to compile and link the source file `Hello.exe'
and produce the output file `Hello.cpp'.  Try renaming Hello.ccp to
Hello.cpp, Hello.C, Hello.cc, or Hello.cxx and then

  gxx Hello.cpp -o Hello.exe

or even just

  gxx Hello.cpp


> 
> C:\DJGPP>
> 
> And there's still no .exe file. HELP!
> DarkAngel

You're lucky to still have Hello.ccp

-- 
Martin Ambuhl	mambuhl AT earthlink DOT net

__________________________________________________________
Fight spam now!
Get your free anti-spam service: http://www.brightmail.com

- Raw text -


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