Page 1 of 1

c compiler

Posted: Mon Mar 11, 2002 3:12 pm
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?

Re: c compiler

Posted: Wed Mar 13, 2002 2:59 pm
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.