How to compile a standalone gtk problem using mingw?

严晶涛 yanjingtao at innlab.net
Thu Jan 26 14:09:32 UTC 2012


Thanks~
 
------------------ Original ------------------
From:  "Michael Cronenworth"<mike at cchtml.com>;
Date:  Wed, Jan 25, 2012 11:55 PM
To:  "users"<users at lists.fedoraproject.org>; 

Subject:  Re: How to compile a standalone gtk problem using mingw?

 
 Tom wrote:
> I have installed mingw32, when I use i686-pc-mingw32-gcc gtktest.c -o
> gtktest.exe `mingw32-pkg-config --libs --cflags gtk+-2.0`,It's OK.but
> when I use i686-pc-mingw32-gcc gtktest.c -o gtktest.exe
> `mingw32-pkg-config --libs --cflags gtk+-2.0` --static , It shows these
> errors:

AFAIK static linking is not supported by GTK on Windows.

In the future you may wish to ask MinGW questions on the mailing list[1] 
or in IRC[2].

[1] https://admin.fedoraproject.org/mailman/listinfo/mingw
[2] #fedora-mingw on freenode
-- 
users mailing list
users at lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120126/78c7fcea/attachment.html>


More information about the users mailing list