Re: how to use GTK+ on Mingw&msys? what i need to begin with GTK+?
- From: Goran RakiÄ <gox devbase net>
- To: "L. Misoullee" <ivsp msn com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how to use GTK+ on Mingw&msys? what i need to begin with GTK+?
- Date: Tue, 7 Feb 2006 12:54:16 +0100
First of all, GTK+ is cross-platform GUI library. So, when you write
your program (with some GTK functions calls in it) you can compile it
for MS Windows, Linux,... With GTK+ runtime installed (shared
libraries) on the system you can run your application on that system.
To compile your source code you will need compiler that can produce
executable for target system and GTK+ includes/headers/... usually
called GTK+ developer pack for target system.
With cross-platform compiling you can run compiler (for example MinGW
cross-compiler) on one system (Linux, Unix,..) and produce binary for
some other system (MS Windows in this example). Still, you will need
to test it if it works, and cross-platform compiling is not something
that you want to start with.
So, to make your application run on Linux and on Windows you need to
have two binaries (Linux and Windows ones) and GTK+ runtime for
Windows installed and GTK+ library installed on Linux. To compile
your application for target system, on Linux you can use GNU gcc
compiler and will need to have GTK+ library, builded and installed
from source or installed from binary package. (usually it has -dev or
-developer sufix in the name).
If your target system is MS Windows, and you don't want to use cross-
compiler, you can use MinGW compiler (gcc for Windows) and GTK+
library from gladewin32 project or from Tor's win32 page. MSYS is
handy tool that will provide you shell (so you can execute configure
scripts) and GNU tools like cp, rm, bintools, tar, autoconf, automake
and others.
I hope that this will help you to get it right.
Bye,
Goran Rakic
On 07.02.2006., at 10.12, L. Misoullee wrote:
thank you.
yeh, i am little on english but i can know what you tell me.
in addition, i live in seoul korea.
as you said the Mingw is not Unix emlulation but msys is.
just i would said so . becuase of it looks the Mingw usually do
with msys.
also Gaim on Windows doesn't use any Unix emulation.
i know it.
however, don't i need gcc compiler in order to compile my GTK+
application on Windows ?
since i have known whether GTK+ for Win32 is just used when runing
my GTK+ application on Windows.
somehow Windows version's GTK+ application, Linux/Unix version's GTK
+ application, as nodoubt previously my GTK+ app should be compiled
whether on Unix system or Linux or Windows..CORRECT?
i found something about Mingw-relations, at Gaim homepage they
suggest which compile the Gaim source for Windows by using Mingw.
i just understood so.
also it looks MacOS has even less to do in this.
i'm sorry about my bad english.
thank you.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]