Mail Archives: djgpp/1998/08/21/15:31:18
M Joshua Ryan wrote:
> Are you working in dos-mode, a window, a shortcut, a batch file? The problem
> sounds like gcc cannot find your test.c file because it's not in the current
> directory or not in the search path. (I've tried numerous times,
> unsuccessfully, to put &compile into the context menu of my .c files).
All you need to do is make a program that takes as a parameter a filename
(path included) and parses it, then changes the the directory to where file is
located. Then make a batch file, 'Compile.bat' or something, and have it call
your program, the gcc. This will not help gcc find 'cpp' though. That is
another problem with the PATH setup. That probably means that 'C:\Djgpp\bin' is
not in the path, or the person doesn't have cpp.exe.
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -