mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] [PATCH] Windows build + check target


From: M. Gerhardy
Subject: [Mingw-cross-env-list] [PATCH] Windows build + check target
Date: Fri, 8 Oct 2010 13:05:52 +0200

Hi.

as i've said a few days ago i've tried to use mingw-cross-env on a
windows machine as build system. I had to make some changes on the
main makefile for getting it to work. I'm sorry that i'm sending a
full file, and not a patch, but this windows machine does not have
mercurial, nor diff nor anything else that could have created a patch.

some rules you should follow in order to get it to build:

* mingw-cross-env must not be in a path with whitespaces
* you must have a mingw already and make sure that everything is in your path
* Do not use the latest xz from
https://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/xz/ - the
oldest is working, the latest is not (download dll and bin package)
* Use a newer version of wget, the older ones (1.12.XX) are working:
http://prdownloads.sf.net/mingw/wget-1.9.1-mingwPORT.tar.bz2?download

The problem in the makefile was that dead end symlinks aren't working
on windows. the file a symlink points to must already exist. I also
had to change the log file target from the symlink to the real file -
somehow the symlinks aren't working for mingw - but i wanted to make
sure that the logs are not getting overwritten each time - so i write
to the timestamped directory and not to the symlink.

Oh. before i forget - i've added a Q variable that can be overridden
to see the executed commands via "make Q=" it was for debugging
purposes, but maybe you will find it useful.

This makefile also includes the check target - but not with --help but
still with which (but feel free to change it to whatever you want,
it's just one line)

And again sorry for not sending a patch file - i hope you will forgive
me and some parts might be useful for others (if not all - let's
discuss it)  ;)

Greetings
Martin

Attachment: Makefile
Description: Binary data


reply via email to

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