If you're not building device drivers, consider using a tool other than
build.exe.  There are plenty of make utilities for Windows, including a
port of GNU make.

If you are building drivers, there are two things I can suggest...

(1) Use a different name for the Linux makefile.  makefile.linux, for
example.  If the Linux developers alias "build" to "make -f
makefile.linux", then both Windows and Linux will use the same command
to build the code.  How much more equal can they be? :-)

(2) The Microsoft build.exe tool can compile code from the parent
directory of the sources file.  Put the Linux makefile and a "dirs" file
with the source code, and create a subdirectory just to hold the Windows
makefile and "sources" file.  When defining the SOURCES macro, just
prefix all the filenames with "..\".

--John


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to