[Lazarus] Build Lazarus + MINGW32

Marco van de Voort marcov at stack.nl
Sat Jun 2 19:20:40 CEST 2012


On Sat, Jun 02, 2012 at 03:59:52AM +0200, Hans-Peter Diettrich wrote:
> >> I remember seeing questions of this problem also before. How to solve it?
> > 
> > Don't put sh.exe in your path or in the dir with "make.exe" in it.
> 
> I use a standard Windows console for make.

Define "standard". You don't have anything installed, so the system and user
PATH variables are still pristine?

> There I replace the entire PATH before make, with only the FPC bin
> directory to use.  This way no other programs or scripts can get into the
> way.

I assume this means that you do the same as Reinier. Hardcode the pristine
environment (or better fix it with the %systemroot% env variable), and then
put the FPC dir in front of it.

That is indeed a good way, and is basically the same as not putting sh.exe
in the PATH that is passed to make.




More information about the Lazarus mailing list