Re: [Ekiga-devel-list] Cross-compiling ekiga for win32



Michael Cronenworth wrote:
Eugen Dedu on 06/25/2009 02:15 PM wrote:
Is it difficult?  Are there only 5 if-s to be declared inside Makefile
or it is more complicated?



No. Here's a primitive example:

OS_TYPE := $(shell uname -s)

ifneq (,$(findstring MINGW,$(OS_TYPE)))
BUILD_TARGET = WINDOWS
endif

This would set $BUILD_TARGET to WINDOWS if you were running make from a
Windows OS using MinGW.

This won't work though if you are attempting to build from a Windows
command prompt. There is no "uname" command in Windows by default unless
you put the MinGW tools in your %PATH% (not done by default).

There is something I do not understand. It is not possible to compile ekiga from windows (cf. http://wiki.ekiga.org/index.php/Cross-compile_Win32#Understanding_the_cross-build_script)

So I meant to modify Makefile so that it can be used directly from debian and fedora, not from windows.

--
Eugen


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