Thread: How do I set up Borland's C++ Free compiler

  1. #1
    Unregistered
    Guest

    How do I set up Borland's C++ Free compiler

    I am really frustrated with trying to get a good compiler and have been hearing of borlands. I installed it, but in the root directory of the instillation I see nothing, just the library/bin/header/help directories, and the read me files. In the Readme file it says to set it up I have to do the following:

    "Installing and running the Command Line Tools
    -----------------------------------------------

    1. Run freecommandlinetools.exe; choose the
    drive and folder into which you want to
    install the free C++Builder 5 command line
    tool development system.

    2. From the bin directory of your installation:
    a. Add "c:\Borland\Bcc55"
    to the existing path
    b. Create a bcc32.cfg file which will set
    the compiler options for the Include
    and Lib paths (-I and -L switches to
    compiler) by adding these lines:
    -I"c:\Borland\Bcc55\include"
    -L"c:\Borland\Bcc55\lib"
    c. Create an ilink32.cfg file which will set
    the linker option for the Lib path by
    adding this line:
    -L"c:\Borland\Bcc55\lib"
    ----------------------------------------------

    could someone tell me how to do this because I don't see anything like "BC++.exe" or any executable files like that.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    The compiler is BCC32.EXE and is located in your BIN directory.
    If you need help setting the path or creating a file (bcc32.cfg and ilink32.cfg) The linker is, by the same tolken, ILINK32.EXE and is also in your BIN directory.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  3. #3
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    oh thanx, I was the one who posted it and whenever I open that file, it opens real quick then closes.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    4
    Try opening the file with a dos prompt instead of with the file explorer.

    Start -> Run -> Command

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    still opens then closes when I do the run promt.

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    61
    To compile something with borland just go to your command prompt and type:

    bcc32 filename

    and replace filename with the name of the file that you want to compile. Make sure that the file you want to compile is in the same directory as the bcc32 program.

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    75
    hmmmm thats a question Iwanted to ask but I didnt know how to ask it lol anyway I had that same problem with Dev (the opening and shutting down quickly problem) and I fixed it by adding this to the end of int main




    system ("Pause");
    return 0;


    }



    and that stoppe dit from closing down so yeah I hope that helps mate cause u helped me by asking this question and now I'm gonna go install borland and try and get it going again



    cheers


    stealth
    If I knew what You know I wouldnt be here.............. Stealth

    Ecliptic Entertainment
    http://www.ecliptic-entertainment.com/

  8. #8
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    No, that is not what I am saying. I know how to make the program stay open when compiling it, I am just saying that I cannot open the BORLAND Compiler at all. The file name is BCC32.exe right, I opened that but it won't stay open. I am not talking about a program that I made, I cannot get into the borland browser therefore I cannot create a program.

  9. #9
    Registered User
    Join Date
    Oct 2001
    Posts
    75
    oh ok I know what u mean now cause I had the same problem but it's because u dont actualy open the actual compiler do this




    go to:

    MS DOS Promt

    type



    cd c:\borlan\bcc55\bin



    then press enter


    after that

    type



    bcc32 filename



    where filenem = the file u want to compile

    ok man


    just found that out


    cheers


    stealth
    If I knew what You know I wouldnt be here.............. Stealth

    Ecliptic Entertainment
    http://www.ecliptic-entertainment.com/

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    75
    oops I meant




    cd c:\borland\bcc55\bin
    If I knew what You know I wouldnt be here.............. Stealth

    Ecliptic Entertainment
    http://www.ecliptic-entertainment.com/

  11. #11
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    So I can only compile programs with the C++ borland compiler, not create and edit programs?

  12. #12
    Unregistered
    Guest
    That's why it's called a compiler. An IDE is totally seperate.

  13. #13
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    lol, makes sense. I am using Dev C++ now and having a place to input makes it easier for me. When you have just a compiler, what do you usually use as an editor, notepad?

  14. #14
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    You can use Dev-C++'s editor then compile with Borland's compiler if you prefer...
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. "if you love someone" :D
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-02-2003, 01:10 AM
  2. EzWindows and Borland 5.5 free compiler
    By savageag in forum C++ Programming
    Replies: 0
    Last Post: 09-15-2003, 09:49 PM
  3. Best Free Compiler
    By rotis23 in forum Windows Programming
    Replies: 2
    Last Post: 06-11-2003, 09:36 AM
  4. Whats the best FREE compiler?
    By Budgiekarl in forum Windows Programming
    Replies: 4
    Last Post: 04-18-2003, 11:07 AM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM