Thread: Borland C++Compiler help

  1. #16
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    and i have saved it under C:\Borland\BCC55

  2. #17
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    By the way my ilink32.cfg is only one line. It looks like:
    -L"c:\Borland\Bcc55\lib"

    See the FAQ entry http://faq.cprogramming.com/cgi-bin/...&id=1043284351 which contains the one I posted above.

  3. #18
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Well your StartBC.cmd contains this:
    PATH=C:\Borland\BCC55\BIN;C:\Borland\BC C55;%PATH%
    DOSKEY /INSERT

    Your ilink32.cfg contains this (plus more stuff if you want):
    -L"c:\Borland\Bcc55\lib"

  4. #19
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >and i have saved it under C:\Borland\BCC55
    Yeah, that's where the StartBC.cmd file goes. And the ilink32.cfg goes under the BIN directory.

  5. #20
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    it works now thank u so much

  6. #21
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >it works now thank u so much
    Whew, you're welcome, glad to hear.

  7. #22
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    There is another problem. I have saved SC1 in the bin section as well as the SciTEGlobal.properties and changed the starBC.bat. now when i open the short cut SC1 opens as well as the command prompt. When i try to compile inside Sc1 (like it says in the instructions) the compile button is grayed out. what have i done wrong??? although every other step has worked perfectly.

  8. #23
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Well I wish I could help you. I just downloaded SciTE (SC1.EXE) and tried running it by adding START C:\BORLAND\BCC55\BIN\SC1.EXE to the StartBC.bat, and I got an error:
    BC1.EXE is not a valid Win32 application. The SciTE editor never popped up.

    But anyway, make sure you have the SciTEGlobal.properties file in the bin directory is about all I can tell you. It sounds like it's not seeing this file for some reason.

  9. #24
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    how do i put it in the bin directory

  10. #25
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >how do i put it in the bin directory
    What directory is it in now? From Windows Explorer, hover over the file, hold down the right mouse button, and drag the file to the bin directory. There are other ways also, like simply copying and pasting the file.

  11. #26
    Registered User
    Join Date
    Apr 2007
    Posts
    17
    what format should it be saved as???

  12. #27
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >what format should it be saved as???
    I just checked, it's simply a text file. You can view it from any editor.

  13. #28
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    You are probably getting a .txt added to the end of the filename (SciTEGlobal.properties.txt). To avoid that, right-click on the link, and choose Save Target As... When the dialog pops up, change Save as type: to All files. Make sure to save it to the bin directory.

  14. #29
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Another way to avoid adding an extension (for some editors) is to put double quotes around the filename; i.e., type "SciTEGlobal.properties". I think it works with notepad.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  15. #30
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Yeah, that should work too. Of course I would also recommend a different compiler. I gotta admit this SciTe editor looks interesting. I think it's only 200Kb, which can be a nice alternative to fancier editors.

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, 06:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM