Tools C compiler setup??

General questions about using TextPad

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

Post Reply
haroldh

Tools C compiler setup??

Post by haroldh »

I'm in the process of teaching myself C and am using TextPad to write my programs. I would like to use the Tools feature of TextPad to hook to the gcc compiler that I'm using (from http://www.delorie.com/djgpp/). When I compile and link at the DOS prompt, I enter something like the following:

gcc -o filename.exe filename.c

Can any of you give me suggestions on how to set up TextPad to do the same?

Below is my .bat file:

@echo off
> set PATH=C:\cc\djgpp\BIN;%PATH%
> set DJGPP=C:\cc\djgpp\djgpp.env
> chdir c:\cc\djgpp\projects
> doskey
> command

Any hints would be greatly appreciated.

HH
Post Reply