| delorie.com/archives/browse.cgi | search |
| From: | dontmailme AT iname DOT com (Steamer) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: using the djgpp gcc compiler |
| Date: | Wed, 08 Nov 2000 09:56:22 GMT |
| Organization: | always disorganized |
| Lines: | 24 |
| Message-ID: | <3a092325.3307194@news.freeserve.net> |
| References: | <8ub40l$4or$1 AT nnrp1 DOT deja DOT com> |
| NNTP-Posting-Host: | modem-241.massachusetts.dialup.pol.co.uk |
| X-Trace: | news7.svr.pol.co.uk 973677383 32364 62.137.72.241 (8 Nov 2000 09:56:23 GMT) |
| NNTP-Posting-Date: | 8 Nov 2000 09:56:23 GMT |
| X-Complaints-To: | abuse AT theplanet DOT net |
| X-Newsreader: | Forte Free Agent 1.11/32.235 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
mmjulian AT my-deja DOT com wrote:
> I have just downloaded the djgpp compiler for c++ using the zip picker
> on the delorie website
> suppose I wanted to write a source code for a program
> do I do this in the ms dos prompt on my win98
> and then type the compliling and executing commands of eg " gcc
> program.cpp" e.t.c???
You can write your programs with any text editor. DOS EDIT.COM is
usable, but you will probably want something better after a while,
e.g. RHIDE, PFE or Emacs.
Make sure you have set up DJGPP correctly (see the readme.1st file).
Then you can compile your program like this:
gpp -Wall -W -O2 program.cpp -o program.exe
If you have installed the info viewer you can get more information
on using gcc/gpp by typing
info gcc
And make sure you read the FAQ.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |