Page 1 of 1

Tools C compiler setup??

Posted: Sat Jun 29, 2002 8:07 pm
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