« Return to Thread: Cross-compiling ekiga for win32

Re: Cross-compiling ekiga for win32

by Eugen Dedu :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
Ekiga-devel-list mailing list
Ekiga-devel-list@...
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

 « Return to Thread: Cross-compiling ekiga for win32