www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/13/04:21:30

From: Groman <groman AT tfz DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: (newbie STILL needs help)Compiling C++
Date: Fri, 13 Aug 1999 00:01:16 -0700
Organization: Posted via RemarQ, http://www.remarQ.com - The Internet's Discussion Network
Lines: 22
Message-ID: <37B3C2BC.8428676A@tfz.net>
References: <19990813003344 DOT 27934 DOT 00000338 AT ng-cj1 DOT aol DOT com>
Mime-Version: 1.0
X-Trace: 934527654 WQ39EUJ1V392DB781 usenet42.supernews.com
X-Complaints-To: newsabuse AT remarQ DOT com
X-Mailer: Mozilla 4.04 [en] (WinNT; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

gxx -o flag means what file to output to, I am just starting with DJGPP, but in
Linux,
I would write it in the following way
gxx hello.cpp -o hello
(notice the cpp file before the -o flag)
that means compile hello.cpp and output to hello(I guess it adds exe
automatically)

DarkAngel wrote:

> ok, I changed it to "Hello.cpp" and I still have the same prog, compiler puts
> out no error messages or "*.exe" prog.
>
> C:\DJGPP>gxx -o Hello.cpp Hello.exe
>
> C:\DJGPP>
>
> Still no .exe, help me
> DarkAngel



- Raw text -


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