Search code examples
winapimakefilemozillamsys

Compiling msys make for compatibility with Mozilla's msys make


Running on Windows 7 with msys installed along with gcc and the source for GNU make 3.81.

In an msys bash shell I run ./confgure which enables both WINDOWS32 and HAVE_DOS_PATHS Then running make produces an executable which reports 'This program built for i686-pc-mingw32' If I then copy the resulting .exe into the /mozilla/build/msys/bin folder, make fails, claiming it cannot find files. The locally built version is ~2.3MB as compared to the ~153KB for the Mozilla version.

Can anyone tell me how the Mozilla crew builds their version of make for Windows?

Thanks.


Solution

  • Maybe you'll find the source to the mozillabuild package helpful.