|
-
Jul 27th, 2000, 04:58 PM
#1
I just downloaded a free C++ compiler that claimed that doom was written using it.
but it wants me to modify autoexec.bat
by adding these lines
Code:
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
what does that do?
I used to have a programming language called euphoria that did the same thing....
why is it there?
-
Jul 27th, 2000, 05:51 PM
#2
Addicted Member
Hmmmm
I Have a VC++ Compiler and it has that same djgpp stuff in it but i dont need to use it with my autoexec. ...dunno maybe it you need it to just initalize it?
-
Jul 27th, 2000, 06:12 PM
#3
Frenzied Member
I'm not sure what DJGPP is. PATH is fairly obvious, you've probably already got a SET PATH= line. That will add a directory to your default path, which doesn't make much difference.
What's in C:\DJGPP? Anything interesting? Whatever it is it's something that's been installed with the compiler I expect.
I wouldn't worry about adding the lines anyway, I can't think how they could possibly do any harm.
Harry.
"From one thing, know ten thousand things."
-
Jul 27th, 2000, 06:33 PM
#4
I know that, but I am just wondering why I need to add them.
-
Jul 27th, 2000, 07:33 PM
#5
Frenzied Member
Well if doom was written in it I'm assuming that it's not Windows based, yes? Well.... why wouldn't it?
Harry.
"From one thing, know ten thousand things."
-
Jul 27th, 2000, 09:28 PM
#6
Interesting................
The Path is needed for the bin...binary...files most C++ compilers rely on. Persumably the standard C libraries are also stored in there...have a look for stdio.h if you want to verify this...most C++ installs include the standard C libraries. Not sure about the other thing though. Does this contain the actually IDE and compiler and linker?
The path is needed to allow the C++ process to find the required compiler/help/linker etc program binary files which you will need in order to write and compile your apps.
Just checked this PC, (Borland C++ compiler) it also adds a lib subfolder to the path.
-
Jul 27th, 2000, 09:48 PM
#7
Hyperactive Member
The path line is added so you can run the compiler from any directory without having to type the full path to the executable.
The other line is just a system variable that the compiler needs to work I think.
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 27th, 2000, 10:10 PM
#8
Noone you are right
Generally the IDE/Edit also needs this to find the standard libraries, help, etc else it will fall over.
-
Jul 27th, 2000, 10:36 PM
#9
Hyperactive Member
Maybe Dennis is too young to remember the "good" old days of DOS. I on the other hand will probably never forget it, no matter how hard I try 
Interesting too since I'm probably only a few years older then Denis.
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 28th, 2000, 08:49 AM
#10
well, I am 13, but I didnt get a computer till I was seven, that was a macintosh, I didnt get a windows computer till I was 11...
eek!
I have learned fast...
and I have used dos quite alot but I wouldnt want it as the only OS on the machine, that would suck.
once I tried using a qbasic compiler(dos) and i couldnt even figure out how to type the code in...
-
Jul 28th, 2000, 03:43 PM
#11
Frenzied Member
I'm 18 and I've used DOS for about 10 years. I guess I wouldn't want to be without Windows really any more, but things were much simpler back then. Hated Win95 when it first came out. Mind you you don't have to worry about getting enough fricking conventional memory for a game to work any more, for which I am truly thankful.
Harry.
"From one thing, know ten thousand things."
-
Jul 28th, 2000, 10:17 PM
#12
Hyperactive Member
Ya but do you think you would have known as much as you do now if DOS games where easy to install?
Getting some of them to work with the soundcard was more like black magic than anything else.
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 29th, 2000, 08:24 AM
#13
Frenzied Member
It's a fair point. Then there was EMS and/or XMS to sort out.
I still have no idea how the computer determined how much conventional memory you had left after boot-up, sometimes you just couldn't get it above 550k, even with everything loaded high and no smartdrive, doskey or anything.
Personally I still use the DOS prompt instead of the windows 'find' tool, and for copying and stuff. It's so much quicker, if you know the commands.
Harry.
"From one thing, know ten thousand things."
-
Jul 29th, 2000, 09:40 AM
#14
Monday Morning Lunatic
As for soundcards and black magic, I was just grateful I had a proper sound blaster...friends of mine had so much trouble with ultrasounds and the like. At least the card makers woke up and started doing emulation of the standard.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|