Borland C++Compiler help

This is a discussion on Borland C++Compiler help within the C++ Programming forums, part of the General Programming Boards category; I have followed all the instructions and have double checked them all but when i run the shortcut i made ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    17

    Unhappy Borland C++Compiler help

    I have followed all the instructions and have double checked them all but when i run the shortcut i made on my desk top it comes up with this.


    C:\WINDOWS>PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55

    C:\WINDOWS>DOSKEY /INSERT
    'DOSKEY' is not recognized as an internal or external command,
    operable program or batch file.

    C:\WINDOWS>

    Can someone please tell me what i am doing wrong???
    Last edited by alistair; 04-24-2007 at 04:49 PM. Reason: change notifictaion options

  2. #2
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,236
    You overwrote the path. You need to ADD those directories to the path, not just replace the path with them. Unless Windows has some kind of implicit path that's always supposed to work?

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55
    The above line should be:
    PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55;%PATH%
    Or:
    PATH=C:\Borland\BCC55\BIN;%PATH%

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    17

    Unhappy Boreland C++

    I put this in notepad

    PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55;%PATH%
    DOSKEY /INSERT


    and saved it in

    C:\Borland\BCC55

    as

    StartBC.cmd


    but when i run the short cut from the desktop it comes up with this

    C:\WINDOWS>PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55;C:\Borland\BCC55

    C:\WINDOWS>DOSKEY /INSERT
    'DOSKEY' is not recognized as an internal or external command,
    operable program or batch file.

    C:\WINDOWS>


    The target for my short cut is

    %windir%\system32\cmd.exe /k C:\Borland\BCC55\StartBC.bat

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >'DOSKEY' is not recognized as an internal or external command
    You might have to reboot as this point. You might try opening up a Command Prompt (from the Start menu, Start->Programs->Accessories->Command Prompt) and typing the command:
    HELP DOSKEY

  6. #6
    Registered User
    Join Date
    Apr 2007
    Posts
    17

    Unhappy New Problem

    I have gotten that working (thank you so much for your help).

    But now when i type in

    bcc32 bcc1.cpp

    It shows

    C:\WINDOWS>bcc32 bcc1.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    bcc1.cpp:
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    Fatal: Illegal option: X


    So it won't work. everything else before that has worked so can you please tell me what to do.

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    >Fatal: Illegal option: X
    What does your ilink32.cfg in the bin directory look like?

  8. #8
    Registered User
    Join Date
    Apr 2007
    Posts
    17

    Unhappy Help

    how do i find out??? I found it but i can't open it in notepad

  9. #9
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    You should be able to right-click on it in Windows Explorer, and do a Send-To, and send it to Notepad or Wordpad. Or right-click, and do Open With, and choose either Notepad or Wordpad.

  10. #10
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    I can't. there is no open with i can only send it to different folders

  11. #11
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    By the way, I would highly recommend you download another compiler. My recommendations for free ones are DevC++ or Code::blocks. These are actually IDEs, but they include a compiler (g++). I enjoy DevC++, but code::blocks is favored by many, and is being updated daily. Here are the links:
    www.bloodshed.net
    www.codeblocks.org

  12. #12
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >there is no open with i can only send it to different folders
    Can you double-click it in Windows Explorer? Once you double-click on it (ilink32.cfg), it should come up with a dialog box so you can choose an editor to open it.

  13. #13
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    when i double click on it it says

    C:\WINDOWS>PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55;C:\WINDOWS\system32;C:\Bo
    rland\BCC55\bin

    C:\WINDOWS>DOSKEY /INSERT

    C:\WINDOWS>BCC32 BCC1.CCP
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Error E2194: Could not find file 'BCC1.CCP'

    C:\WINDOWS>


    I typed all the info in again and then saved it with the same name this is what i typed

    -v-
    -x
    L"C:\Borland\BCC55\LIB;C:\BORLAND\BCC55\LIB\PSD K

  14. #14
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    According to the FAQ, there is no line with X in this file. It should look like:
    Attached Images Attached Images  

  15. #15
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    that is a different file

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 05:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 10:28 AM

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