make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make on XP - shell selection?


From: Earnie Boyd
Subject: Re: Make on XP - shell selection?
Date: Fri, 19 Oct 2007 07:28:31 -0400
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)


Quoting Gary Turner <address@hidden>:


It all worked perfectly until I installed a compiler that put a sh shell on my path. Since then all my makefiles are broken.

Bad business.  Is there a reason the compiler needs the PATH set?

Make appears to insist on using the sh shell buried on my path rather than cmd.exe I've tried explicitly putting SHELL = cmd.exe in my makefiles - but that didn't seem to work. Putting SHELL = c:\winnt\system32\cmd.exe seems to sort-of work, but then all sorts of other errors come up.


Eli, I thought this was supposed to work?

Is there a simple way (other than changing my path before running make) to keep all my makefiles that worked perfectly well before working?

Modify the source and rebuild make? Create a make.bat file to modify the PATH and execute make.exe with the parameters passed to the make.bat file? The .bat is found before .exe so executing with ``make -f mymakefile'' still works as expected.

Earnie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]