Posts Tagged ‘C++’

Where i can get c++ compiler..?

here is where to get the gpp compiler

and get the following files…
– v2/ DJGPP Copyright info 3 kb
– v2/ DJGPP Basic Development Kit 1.5 mb
– v2/ Frequently Asked Questions 664 kb
– v2/readme.1st Installation instructions 22 kb

– v2apps/ RHIDE 6.0 mb

– v2gnu/ Basic assembler, linker 3.9 mb
– v2gnu/ Basic GCC compiler 4.3 mb
– v2gnu/ GNU debugger 1.5 mb
– v2gnu/ C++ compiler 4.5 mb
– v2gnu/ Make (processes makefiles) 267 kb

– v2gnu/ Info file viewer 1.0 mb

Installation Instructions for winXP

Use Explorer to create a folder for DJGPP. My Computer, Drive C, File->New->Folder, “DJGPP”.

Use djgpp’s unzip32.exe to unzip all the zips you downloaded into the C:\DJGPP folder. Don’t unzip them each into separate folders – unzip them all to the same place. The directory structure inside each zip file should be preserved, so you end up with files like c:\djgpp\bin\gcc.exe and c:\djgpp\include\stdio.h
C:\> mkdir djgpp
C:\> cd djgpp
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\
C:\DJGPP> unzip32 d:\tmp\

When properly installed, you should have a c:\djgpp\bin directory, and in it should be at least gcc.exe, as.exe, and stubify.exe. If all the files are in c:\djgpp with no subdirectories, or you see directories like c:\djgpp\djdev203\, you need to delete everything and try a different unzip program.

Make sure you use the djgpp’s unzip32, or some other unzip that doesn’t support long file names. If you install with WinNT long file names, C++ programs won’t compile. Another option is to use pkunzip instead (see the MS-DOS install instructions) or read the FAQ about the NameNumericTail registry key.

Right-click My Computer, select Properties. Select the Advanced tab, then the Environment Variables button. Edit the Path (or PATH, whichever exists) system variable to include C:\DJGPP\BIN at the front. (If you are not an administrator, add it to the PATH variable in the User Variables section, or add a new PATH user environment variable which contains only C:\DJGPP\BIN) Add a new variable DJGPP set to C:\DJGPP\DJGPP.ENV (system variable if possible, user variable if not an administrator) .

You’ll need to close and reopen your MS-DOS windows for these changes to take effect.

Rather than edit your autoexec files and/or global environment, you may wish to create a djgpp shortcut instead. To do this, create a c:\djgpp\djgpp.bat that has lines like this:
@echo off
set PATH=c:\djgpp\bin;%PATH%
set DJGPP=c:\djgpp\djgpp.env
chdir c:\djgpp\mystuff (or any other directory)
(you can replace that last line with any other shell you’d like)

and then you will get the gpp run on your machine. and you are ready to fly………..
>> more information get to

Categories: C++ Tags: ,