C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 05-11-2007, 06:51 AM   #1
Registered User
 
Join Date: Apr 2007
Posts: 1
Question GNU C++ Compiler Issues!

Hello Everyone!!

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   Reply With Quote
Old 05-11-2007, 06:54 AM   #2
Deathray Engineer
 
MacGyver's Avatar
 
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   Reply With Quote
Old 05-11-2007, 06:56 AM   #3
Woof, woof!
 
zacs7's Avatar
 
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%
Where C:\DJGPP\DJGPP.ENV is the path to DJGGPs environment variables (may be differnt on your PC)...

Quote:
I would scrap that and get a 32-bit compiler, like LCC, or MinGW (which is basically GCC), or some other kind.
Correction, DJGPP is a 32-bit compiler, but for DOS . But I think it supports Win32 now...
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Old 05-11-2007, 07:18 AM   #4
Deathray Engineer
 
MacGyver's Avatar
 
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   Reply With Quote
Old 05-12-2007, 11:03 AM   #5
Cat without Hat
 
CornedBee's Avatar
 
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   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 02:55 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22