c compiler

General questions about using TextPad

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

Post Reply
Jeremy

c compiler

Post by Jeremy »

Hi I am using the gcc c compiler, and can't work out how to get Textpad Tools to compile my c programs - I get a

"gcc.exe: installation problem, cannot exec `cpp': No such file or directory (ENOENT)

Tool completed with exit code 1"

message all the time.
I have set up the gcc compiler as such:

Command: c:\gcc\BIN\GCC.EXE
params: -ansi -pedantic $File
init folder: &FileDir
Capture output[x]

with a regular expression of: ^\(.[^:]+\):\([0-9]+\):
registers: file[1] Line[2]

... suggestions on what I am doing wrong please?
Jörg Frech

Re: c compiler

Post by Jörg Frech »

Looks like gcc cannot find its preprocessor cpp.exe, which means that the directory c:\gcc\bin is not in your PATH.
Post Reply