need help with installing compiler

This is a discussion on need help with installing compiler within the C++ Programming forums, part of the General Programming Boards category; hey guys- GNU C++ is the compiler i am having trouble getting up and running. the cd-rom came packaged with ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    4

    need help with installing compiler

    hey guys- GNU C++ is the compiler i am having trouble getting up and running. the cd-rom came packaged with "C++ For Dummies," and im following the directions but..directions:
    *to install the GNU C++ compiler and RHIDE editor onto your computer, copy the DJGPP folder.
    i did that
    *with the DJGPP folder copied to your hard drive, open notepad and click File>Open and select c:\AUTOEXEC.BAT.
    *add the following two lines to your AUTOEXEC.BAT file. (NOTE: if the file AUTOEXEC.BAT does not exist, then the aforementioned steps creates it).
    lines im supposed to add: set PATH=%PATH%;C:\DJGPP\BIN
    set DJGPP=C:\DJGPP\DJGPP.ENV
    * save file and reboot
    ok, i opened notepad, but there was no c:\AUTOEXEC.BAT. i pressed something ( i cant remember what) and:
    *C:\>SET BLASTER=A220 I5 D1 T4 showed up, so underneath it i typed:
    set PATH=%PATH%;C:\DJGPP\BIN
    set DJGPP=C:\DJGPP\DJGPP.ENV
    like the directions said. i saved the file, exited, went to the C drive and opened it up. it looked like this:
    *C:\>SET BLASTER=A220 I5 D1 T4
    set PATH=%PATH%;C:\DJGPP\BIN
    set DJGPP=C:\DJGPP\DJGPP.ENV
    it seems ok, although when i strike a key, it wont allow me to advance; i must exit. from there, i am LOST. i hope i didnt lose anyone, because i really need some help. this compiler has to get up if i want to start learning C++. c'mon i know you guys can help me! please! thanks!

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    there should already be a part where it has paths that you already have set. just add djgpp there. also, djgpp isnt the ONLY compiler out there .

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    4
    im not clear on what your saying. what other compiler would you recommend?

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    www.bloodshed.net

    Download Dev-C++. I recommend that you get the non-beta version. It will save you some hassles.

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    4
    thanks gulfinguy. ill post if im having any trouble.

  6. #6
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    for the compiler that Dev-C++ uses actually, go here:
    www.mingw.org

    it is included with the download, but if you use another IDE, you may want to download a copy.

    you could also use Borland BCC55, I don't use it much though.
    www.borland.com

    edit:: I recommend using an IDE with either mingw or Borland, so you don't have to deal with command line stuff right now.
    Last edited by alpha; 01-03-2003 at 12:15 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  2. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  3. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  4. need help downloading and installing MiniGW compiler
    By kelso135 in forum C Programming
    Replies: 3
    Last Post: 09-01-2005, 05:17 PM
  5. GNU Public Domain Compiler
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 08-22-2002, 07:55 AM

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