How can I get it back to building again?
Thanks,
John.
If you didn't use OBJDIR, try:
$ make distclean
$ make -f client.mk build
Otherwise, just delete $OBJDIR and restart.
--
Sergey Yanovich
Thanks. I deleted obj-i686-pc-mingw32 and then tried the make cmd again.
Same error. Another idea?
>
> --
> Sergey Yanovich
What does gcc say? And have a look into config.log, that contains the
command it tried to ran and the error output it gave.
Peter.
John.
Oops, yes, I missed the "win32". In any case, config.log should tell you
the command and then you can try that in the shell.
Peter.
> configure: error: installation or configuration problem:
> C compiler cannot create executables.
> Try checking to make sure your PATH variable includes all the
> necessary directories. If you are using MS Visual Studio, run
> vcvars32.bat (which sets your PATH, LIB, and INCLUDE variables).
> If your build environment has changed, you may need to delete
> your config.cache file (in your mozilla or object directory) and
> then build again.
You have to make sure that your .mozconfig has unix line endings. Run,
if you have dos2unix or open it in Visual Studio and save it as unix.
Thanks Stefan! I ignored the FAQ section because it marked as obsolete.
And the other instructions referenced use mingw32 shell: how can I use
vcvars32.bat?
The answer is: I should have run mozilla-build/start-mscv8.bat to get
mingw32 shell. It calls vcvars32.bat then puts up a shell. It even
nicely puts the title bar that would help me remember to do this next
time. But then it immediately erases the helpful bit. So I only saw
MINGW32. I fixed the FAQ page
John.