Home > C++ > Where i can get c++ compiler..?

Where i can get c++ compiler..?

here is where to get the gpp compiler

ftp://ftp.delorie.com/pub/djgpp/current/

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

– v2apps/rhid15ab.zip RHIDE 6.0 mb

– v2gnu/bnu217b.zip Basic assembler, linker 3.9 mb
– v2gnu/gcc423b.zip Basic GCC compiler 4.3 mb
– v2gnu/gdb611b.zip GNU debugger 1.5 mb
– v2gnu/gpp423b.zip C++ compiler 4.5 mb
– v2gnu/mak3791b.zip Make (processes makefiles) 267 kb

– v2gnu/txi412b.zip 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\djdev203.zip
C:\DJGPP> unzip32 d:\tmp\faq230b.zip
C:\DJGPP> unzip32 d:\tmp\rhid15ab.zip
C:\DJGPP> unzip32 d:\tmp\bnu217b.zip
C:\DJGPP> unzip32 d:\tmp\gcc423b.zip
C:\DJGPP> unzip32 d:\tmp\gdb611b.zip
C:\DJGPP> unzip32 d:\tmp\gpp423b.zip
C:\DJGPP> unzip32 d:\tmp\mak3791b.zip
C:\DJGPP> unzip32 d:\tmp\txi412b.zip

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)
command
(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 http://www.delorie.com/djgpp/

Categories: C++ Tags: ,
  1. September 1, 2008 at 3:37 am

    Hi!,

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: