Re: Compiling gtk apps on MingW

2005-07-04 Thread Ricardo Malafaia
holly crap, man! it worked!! just because of this tiny little detail! well, just in case anyone is wondering, i also got sed to put all paths from d:/ from into /d. just in case, you know... anyway, here's the complete Makefile, in all its redundant glory, that made it work, in case anyone is

Re: Compiling gtk apps on MingW

2005-07-03 Thread zhanglei
Ricardo Malafaia writed: all: test test.exe: test.c gcc.exe $(GTK_CFLAGS) $(GTK_LIBS) teste.c -o test.exe try to put $(GTK_LIBS) to the end of the command line gcc.exe $(GTK_CFLAGS) -o test.exe teste.c $(GTK_LIBS) ___ gtk-app-dev

Re: Compiling gtk apps on MingW

2005-07-03 Thread David Necas (Yeti)
On Sun, Jul 03, 2005 at 09:37:49AM +0200, Gus Koppel wrote: > > Makefiles are not supposed to contain (or evaluate, rather) > "`"-expressions. Why not? Backquotes work with most shells and thus you don't depend on GNU make. Anyway, make never evaluates ``-expressions, see below. I have a Makefi

Re: Compiling gtk apps on MingW

2005-07-03 Thread Gus Koppel
Ricardo Malafaia wrote: > well, my Makefile is like this now > > PREFIX=/mingw > PATH=/d/GtkWin/bin:/usr/bin:/bin:/mingw/bin > CPPFLAGS=-O2 -I/d/GtkWin/include > PKG_CONFIG_PATH=/d/GtkWin/lib/pkgconfig > LD_LIBRARY_PATH=/d/GtkWin/bin:/d/GtkWin/lib:/lib:/usr/lib:/mingw/lib > > GTK_CFLAGS=`pkg-con

Fwd: Compiling gtk apps on MingW

2005-07-01 Thread Ricardo Malafaia
he gcc command line shown, shows not the result of the sed processed pkg-config output, but simply `pkg-config --cflags gtk+-2.0 | sed -e 's/d:/\/d/'`. i'll try a bit more later... -- Forwarded message -- From: Ricardo Malafaia <[EMAIL PROTECTED]> Date: Jul 1, 2

Re: Compiling gtk apps on MingW

2005-07-01 Thread Hubert SokoĊ‚owski
On Fri, 1 Jul 2005 12:06:28 -0300 Ricardo Malafaia <[EMAIL PROTECTED]> wrote: > Hello, all! > > I'm sure this has been asked before and i searched the archives, but > couldn't find anything to help me. So, can anyone give me a hand? > > I'm having problems with the linking step, as noted in mes

Compiling gtk apps on MingW

2005-07-01 Thread Ricardo Malafaia
Hello, all! I'm sure this has been asked before and i searched the archives, but couldn't find anything to help me. So, can anyone give me a hand? I'm having problems with the linking step, as noted in messages which go like: test.c: undefined reference to `g_print' test.c: undefined reference t