Re: [gtkmm] [patch] Building under Cygwin



Cedric Gustin <cedric gustin swing be> writes:

> At 12:58 PM 3/18/2004, Roger Leigh wrote:
>>Attached is a patch to allow Gtkmm to built in a Cygwin environment.
>>The patch isn't intended to be applied "as-is", since some things are
>>broken.
>>
>>On the whole, the source assumes that:
>>- A UNIX environment is using the X11 backend
>>- Win32 means MinGW
>>- but Cygwin behaves like a UNIX environment, while requiring
>>   -no-undefined as a linker option, and may optionally use the win32 GDK
>>   backend rather than X11.
>
> Could you please create a bugzilla entry for this ?

Sure, it's #137591.

> Right now, I have compiled gtkmm-2.2 and 2.3 with mingw32 gcc and
> with cygwin gcc using the -mno-cygwin compiler option (and with
> --host=i386-pc-mingw32 as an option to the configure script) but I'm
> interested in a full cygwin support (both with the X11 and win32
> backend). As I don't have the time to compile gtk+ (x11 and win32)
> with cygwin gcc (hence against the cygwin.dll), your help is much
> appreciated.

I'll be happy to help.  One caveat: I'm a GNU/Linux programmer, and I
know very little about Windows internals.  [I am not using it out of
choice!]

Some folks on the list (and gtk-list, IIRC) were wanting to build on
Cygwin.  I've now got to the stage of successfully building natively
all the latest stable releases (as of a week ago) glib, atk, pango,
gtk/gdk and libglade (and libglademm).  I'll post these to the
gtk-list and gtkmm-list in a few days once I've cleaned them up.  I'll
also file bugs (or should first port them to the latest stable (GTK+
2.4.0 etc.) releases--will there be another 2.2 release?).


Regards,
Roger

-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]