[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cygwin & gtk
- From: TORRI Vincent <Vincent Torri math u-bordeaux fr>
- To: Sergey Zhitomirsky <szh dgap-gw mipt ru>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: cygwin & gtk
- Date: Tue, 4 Feb 2003 14:46:32 +0100 (CET)
On Tue, 4 Feb 2003, Sergey Zhitomirsky wrote:
> Hello
> Can somebody help me
> I'm unable to run even the following small Gtk program under cygwin
>
> #include <gtk/gtk.h>
> int main (int argc, char *argv[])
> {
> gtk_init(&argc, &argv);
> // gtk_main();
> return 1;
> }
>
> It compiles & links well
> gcc m.c -o m `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
>
> but when I try to run it I always receive:
>
> 5 [unknown (0x164)] ? 636 cygheap_fixup_in_child: Couldn't reserve space
> for cygwin's heap (0x615C0000 <0xAA0000>) in child, Win32 error 487
> E:\cygwin\home\m.exe: *** m.AllocationBase 0x0, m.BaseAddress 0x615C0000,
> m.RegionSize 0x80000, m.State 0x10000
>
> Am I doing something wrong ?
Hello,
>From the gtk win32 homepage :
With gcc, you should use the -mno-cygwin and -fnative-struct flags (in gcc
3.x, instead of -fnative-struct use -mms-bitfields)
Vincent TORRI
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
--
TORRI Vincent
Mathematiques Appliquees Bordeaux
Institut de Mathematiques
Universite Bordeaux 1
351 cours de la liberation
33 405 Talence cedex - France
Tel : 33 (0)5 57 96 21 42
Fax : 33 (0)5 56 84 26 26
--
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]