Date: Wed, 31 Dec 1997 14:46:13 +0200 (IST) From: Eli Zaretskii To: Rick cc: djgpp AT delorie DOT com Subject: Re: Gcc can't find crt0.o In-Reply-To: <68d8vu$hev$1@cadmium.aware.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.