Lets get a complete FAQ for Textpad usage with Borlands free

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Josh

Lets get a complete FAQ for Textpad usage with Borlands free

Post by Josh »

Ok, I searched the forum, and I found several pages but none of them seemed to contain all the information.

Last year I had Textpad working with Borlands compiler, and it took me forever to get the settings right, sadly since then I had to reformat my computer and forgot to save those settings.

Anyway, if anyone out there uses Borlands free compiler with textpad or knows would they post everything you need to do to configure Textpad, such as how to add borland to the tools menu, as well as how to configure Borland, and how to run the program once you compile it.


Thank you for the help. (And if no one posts this information, which I fear will be what happens, I'll come back tomorrow after spending 3 hours getting it all worked out again and post what I've found out.)
John

Re: Lets get a complete FAQ for Textpad usage with Borlands

Post by John »

Go to the Tips section on this webpage and you will find the complete instruction.
Josh

Re: Lets get a complete FAQ for Textpad usage with Borlands

Post by Josh »

Question: After following the instructions for : Create a Windows (Win32) Application.

I tried running just a simple text output program and compiling it, here is the code:

#include <stdio.h>


main()

{ // start main

printf("\n This is a test C Program.");

} //end main

and I get this error back in command results:
C:\c_prog\chpt1\book_dem\dem1-1.cpp:
Turbo Incremental Link Version 1.0 Copyright (c) 1997 Borland International
Fatal: Illegal option: Gn

Tool completed with exit code 1

Any ideas what I configured incorrectly?

Sorry if this is a painfully simple question, but I am awful with C, and am used to using TextPad for Java based work.

Thank you for your help.
Josh

Re: Lets get a complete FAQ for Textpad usage with Borlands

Post by Josh »

Ok well for whatever reason the settings at this website worked perfectly:

http://www.sunnywaterford.com/education ... ftools.htm

I don't know why that is, I still have to figure it out and do a bit more testing.

If anyone else knows why those worked but the settings in the TIPS section did not please enlighten me.

But basically here are the settings:
----------
Add the Program bcc32.exe which provided you loaded the program into the standard directory should be located in c:\borland\bcc55\bin\bcc32 next you have to set up the program.

Command: C:\Borland\BCC55\Bin\bcc32.exe

Parameters: -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" $File

Initial Folder: $FileDir

Regular Expression to match output: ^\(Error\|Warning\) [A-Z][0-9]+ \(.+\) \([0-9]+\):

The Line Register should be 3 and the File register should be 2
Post Reply