Re: Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse
- From: Øystein Schønning-Johansen <oystein gnubg org>
- To: pwillis aslenv com
- Cc: gtk-list gnome org
- Subject: Re: Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse
- Date: Thu, 19 Aug 2010 07:52:27 +0200
On Wed, Aug 18, 2010 at 8:07 PM, Peter Willis
<pwillis aslenv com> wrote:
Hello,
I would like to use mingw to port and compile a simple GTK application
under MS Windows.
The download page for windows located at:
http://www.gtk.org/download-windows.html
recommends the mingw tool chain and contains tables of relevant packages as well as dependencies.
I have downloaded the various required packages and dependencies
marked 'Dev' on that page.
What is unclear from any installation instructions I
have been able to find is where and how to install these
packages into mingw.
Do I simply decompress the archives in the mingw directory
hierarchy so that the files end up in the respective directories there?
*or*
Do I need to make separate hierarchies for each of the zip files
and point GCC at the 'lib' and 'header' directories using '-L -l'
and '-I -i' flags respectively?
I've used GTK and glib with mingw for many years now, and I've always put mingw in c:\mingw and all the gtk stuff in c:\gtk.
This works perfectly, and I usually also add some simple unix-ish tools such that I can mimic a unix system at a "dos" prompt.
To make all include and linking simple I usually have a makefile that contains these lines:
INCLUDE = -I/C/GTK/include $(shell pkg-config --cflags gtk+-2.0)
LIBS = $(shell pkg-config --libs gtk+-2.0)
... or somthing similar depending on what I need.
I would not recommend to put GTK and MinGW in the same directories!
-Øystein
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]