![]() |
| | #1 |
| Registered User Join Date: Apr 2007
Posts: 1
| I am fairly new to the programming world and I have a little problem. I am having a problem installing the GNU C++ (DJGPP) compiler on my XP system. The part where I am stuck was taken directly out of the instructions: Instead of editing your autoexec files and/or global environment, you may wish to create a djgpp shortcut instead. To do this, create a BAT file which has the lines below in it. This is often needed if you have multiple compilers on the same system. Assuming your DJGPP installation is rooted at C:\DJGPP, the values of the two environment variables DJGPP and PATH should be set like this: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% I guess what I am asking for are the step-by-step instructions on how to complete this task written in red, bold text above. Any help would be greatly appreciated. Thank you! |
| code_writer is offline | |
| | #2 |
| Deathray Engineer Join Date: Mar 2007
Posts: 3,211
| Eww, another DOS compiler on Windows XP. I would scrap that and get a 32-bit compiler, like LCC, or MinGW (which is basically GCC), or some other kind.
__________________ |
| MacGyver is offline | |
| | #3 | |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,297
| Before you get any further, Is DJGPP primarily not a compiler for DOS ? :\ * Create a new file with a .bat extension, put the following lines in it: Code: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% Quote:
. But I think it supports Win32 now... | |
| zacs7 is offline | |
| | #4 |
| Deathray Engineer Join Date: Mar 2007
Posts: 3,211
| I was under the impression it was a 16-bit DOS compiler..... /me googles DJGPP. Bleh, you're right. I would still suggest ditching it, though.
__________________ |
| MacGyver is offline | |
| | #5 |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| DJGPP is a 32-bit DOS compiler. It creates 32-bit programs running inside a DOS extender. There hasn't been a release in 7 years. Just use MinGW.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law |
| CornedBee is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which Compiler? | Bladactania | C Programming | 10 | 02-11-2009 01:32 AM |
| [resolved] internal compiler error... | bling | C++ Programming | 2 | 12-10-2008 12:57 PM |
| Compiler questions | DvdHeijden | C++ Programming | 6 | 01-17-2005 03:00 PM |
| Compiler issues | Strix Varia | C++ Programming | 3 | 01-14-2005 02:58 AM |
| C Compiler | SAMSEIED | C Programming | 5 | 06-06-2002 05:44 PM |