Mail Archives: djgpp/1997/12/31/07:48:08
On Tue, 30 Dec 1997, Rick wrote:
> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\MASM\BIN;C:\MASM\HELP;C:\DJGPP\BIN
It is best to put C:\DJGPP\BIN before any other C compiler's bin
subdirectory. If any of the directories that precede DJGPP have cpp.exe,
you are in trouble. I would suggest putting DJGPP\BIN before everything
else, unless you have grave reasons not to do so. (This probably has
nothing to do with your main problem, though.)
> DJGPP=C:\DJGPP\DJGPP.ENV;
^
That semi-colon might well be the source of your grief. Remove it and
try again. (DJGPP variable cannot include multiple file names, and
therefore cannot have semi-colons.)
If that doesn't help, add -v to the gcc command line, run gcc with stderr
redirected to a file (use `redir' utility if you need) and post here
everything that is printed into that file.
> BTW things compile fine when I have library_path=c:\djgpp\lib and
> when I call gxx with the proper include paths!
Of course, it will! Your LIBRARY_PATH isn't set correctly by DJGPP.ENV
because it is derived from the DJGPP environment variable, and I suspect
that the semi-colon screws it up.
- Raw text -