delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/21/23:46:53

From: medwards AT onramp DOT net (Mark Edwards)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I just downloaded Djgpp v2. How do I compile a C++ File? Can it be a real C++ File??? Please help...
Date: Mon, 21 Oct 1996 03:26:34 GMT
Organization: In my dreams
Lines: 29
Message-ID: <54er54$pjs@news.onramp.net>
References: <54e7s0$28b8 AT news DOT goodnet DOT com>
Reply-To: medwards AT onramp DOT net
NNTP-Posting-Host: turnpike03.onramp.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

littleoak AT netzone DOT com (alan tree) wrote:

>I need some help on this djgpp stuff. I need to know, how do I compile
>C++ Files???? Please help.........

Okay, first of all, read the documentation that comes with djgpp. This will
tell you all about the command line arguments, and so forth.

For a quick fix, the base command line is:

     gxx filename.cc -o filename.exe

where filename.cc is your source code, and filename.exe is the executable
you want to create.

In answer to your second question, yes, you can create "real" C++ files
(whatever that means). The programs are as good as any other program
created by any other compiler.



Mark Edwards
------------
What we have here is a failure to assimilate.
  - Cool Hand Locutius of Borg
------------
Any email, judged by me, to be of a commercial nature,
will be reviewed and billed at a rate of $500 per item.

- Raw text -


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