Thread: borland

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    17

    borland

    got a borland c++ 55 complier,
    but ain't able to run that.
    got a borland named folder,under that BCC 55 and
    under that bin,
    dunno know what to run and how to get the IDE.
    plz someone help me.

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    if you got the borland 5.5 compiler for free (eg. downloaded from the borland website) then there is no IDE, it is a command line compiler.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    17
    well yes,i have got the
    free one,so how can i configure
    that,have no clue......
    readme is not of much use.

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    There is a free IDE that works with Borland C++ 5.5.

    The URL is:
    http://www.objectcentral.com/

    From the website:
    VIDE has very good support for the free Borland command line compiler tools. It can build Console, GUI, and static library project files. It also includes some extra documentation about the Borland environment. VIDE also supports Borland's Turbo Debugger TD32.

  5. #5
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    You also need to set up your .cgf files. there is a faq on that. else

    in notepad put these lines.

    -I"c:\Borland\Bcc55\Include"
    -L"c:\Borland\Bcc55\Lib"
    then save as "bcc32.cfg"


    same with linker

    C:\borland\bcc55\bin>type bcc32.cfg
    -I"c:\Borland\Bcc55\Include"
    -L"c:\Borland\Bcc55\Lib"

    C:\borland\bcc55\bin>type ilink32.cfg

    -L"c:\Borland\Bcc55\lib"
    C:\borland\bcc55\bin>

  6. #6
    Registered User
    Join Date
    Feb 2005
    Posts
    17
    thanks kryptkat for ur help,
    created those two files in the bin folder
    when i typed bcc32.cfg in cmd
    it gave windows cannot open the file and
    does the ilink32.cfg contains
    -L"c:\Borland\Bcc55\lib"
    or shud i put the line -I"c:\Borland\Bcc55\Include" also
    same error is giving in the ilink32.cfg file

    plz help

  7. #7
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    C:\borland\bcc55\bin>type ilink32.cfg

    -L"c:\Borland\Bcc55\lib"
    C:\borland\bcc55\bin>

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,663
    > when i typed bcc32.cfg in cmd
    You dont RUN the CFG file, it's there for the compiler to read.

    You type
    bcc32 prog.c

    Which if you've done the job properly of
    - creating the CFG files.
    - put D:\BCC32\BIN in your PATH environment variable

    Oh look, yet another FAQ
    http://faq.cprogramming.com/cgi-bin/...&id=1043284351
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  9. #9
    Registered User
    Join Date
    Feb 2005
    Posts
    17
    thanks salem
    followed the faq,
    made the cfg and batch file
    but when i am loading the Bcc5.5
    it's getting loaded with the path
    showing to the borland/bcc55/bin
    but then it shows too many parameters

    then when i type bcc32
    it says bad command

    is it happening due to the too many parameters message.

    plz help

  10. #10
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,663
    Re-read the instructions carefully, and reboot?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  11. #11
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    you have to cd to the dir that the bcc32 is in.

    make a shourtcut to C:\WINDOWS\system32\cmd.exe

    then start in C:\borland\bcc55\bin

    and that will give you a shourtcut to the dir that bcc32 is in. bcc32 is not a .com so your command has to find it.

    C:\borland\bcc55\bin> bcc32 file.c

  12. #12
    Registered User
    Join Date
    Feb 2005
    Posts
    17
    thanks salem and kryptkat
    i am able to compile and run the file,
    for that i have to move to the bin
    folder and keep the files there.

    so can't i keep the files in some other folders
    for e.g. myfiles(as shown in the faq) then
    complie the file form that folder.

  13. #13
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,663
    > for that i have to move to the bin
    That simply means you've messed up (or failed) to set the PATH variable.

    Follow that bit of the instructions again for your operating system. There's no reason why you should need to do what you're doing.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  14. #14
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    You can keep your files anywhere you want or be cd to what ever dir you want. I thought that if you was cd to c:\borland\bcc55\bin> it would be easyer for you untill you were more experienced with the compiler bcc32.exe

    if you are cd to c:\> you can call the compiler by adding the path to your commands. and your files. look in to path and cd.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 10-03-2006, 04:48 PM
  2. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 11:23 PM
  3. Visual C++ and Borland C++ Builder :: Breakdown
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-24-2004, 04:53 PM
  4. Problem with Borland 5.5
    By Gregthatsme in forum C++ Programming
    Replies: 2
    Last Post: 05-25-2003, 08:07 AM
  5. Borland C++ v.5 & Borland Turbo C++ 4.5
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 07-21-2002, 03:30 AM