delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/03/05:43:45

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: re:compiling problems
Date: Sun, 3 Oct 1999 00:20:33 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 51
Message-ID: <7t6p6o$48v$1@solomon.cs.rose-hulman.edu>
References: <6caed11b DOT 25264274 AT aol DOT com>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938928152 4383 137.112.205.146 (3 Oct 1999 05:22:32 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 3 Oct 1999 05:22:32 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<OGOAMAM AT aol DOT com> wrote in message news:6caed11b DOT 25264274 AT aol DOT com...
> I have a source code that I have written with a note pad (on Windows 95)

Notepad has an annoying habit of renaming your files.
Use RHIDE, Robert Hoehne's integrated development
environment for DJGPP. Get it where you got DJGPP.

> and saved as myfile.cxx I tried to compile it but I get the following
error:
>
> gxx.exe : myfile.cxx : No such file or directory (ENOENT)

Did Notepad happen to rename your file myfile.cxx.txt?
Oh, by the way, .cpp is the most common extension for
C++ source files.

> I am new to programming. Am I using the right text editor?

RHIDE is better. It's an integrated development environment
especially designed for DJGPP.

> Should I save this file under any particular directory in DJGPP?

No. However, before you run DJGPP, you should change the
Current Folder to wherever the source file is located. In my
case it's c:\personal\djgames\dosarena\foo.cpp, so I would type
cd \personal\djgames\dosarena

Parts of
> My autoexec.bat file is set as indicated below:
>8
> PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DJGPP\BIN;%PATH%

You really shoupd put DJGPP before Windows on your path.
PATH C:\djgpp\bin;C:\Windows;C:\Windows\Command;C:\;%PATH%

> SET TEMP=C:\PBTOOLS\WINTEMP

It should be C:\Windows\TEMP so that the disk cleanup programs
can pick it up.

> SET WINPMT=[Sindows] $P$G

Never seen winpmt before. Anyone know what it is?


Damian Yerrick
http://come.to/yerrick


- Raw text -


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