Borland 5.5 multiple files compile/link

General questions about using TextPad

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

Post Reply
George Loring

Borland 5.5 multiple files compile/link

Post by George Loring »

We are trying to use borland's free commandline compiler with textpad. We are able to compile one .c or .cpp file using borland with textpad, however, we cannot get borland to compile and link multiple .c or .cpp files. It tries to compile and link each file separately and generates an error when it hits a source file without a main function. As of now, this is the parameters and preferences for the Borland Compiler tool.

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

Parameters: $File

Initial Folder: $FileDir

Regular Expression: ^\(Error\|Warning\) [^ ]+ \(.+\) \([0-9]+\):

If we replace the parameters listing with the entry "$File\*.c" or "$File\*.cpp" we are able to compile all source files in the current directory. However, this sometimes compiles files we do not need compiled. Ideally, we would only like to compile files that are currently opened in the document window inside textpad. Is there anyway to compile and link multiple source files using borland and textpad in this manner?
Post Reply