By cygwin do you mean the X11 (posix) target requiring XFree86, or windows-only. Because I believe that if you build with cygwin, by default you'll get windows-only dlls, which can't be mixed with cygwin1.dll posix programs. If you're going to build the X11 target, then you'll need to link against cygwin1.dll and XFree86. That would be essentially the same as building on Linux. To get windows-only dlls, you'll need to compile with the mingw subsystem (-mno-cygwin -fnative-struct flags), which produces the same windows-only dlls you said you don't want. The reason you can't make non-Xfree86 dlls that depend on cygwin1.dll (posix) is that the posix layer has no way of accessing the win32 api directly and thus can't make graphics calls. You can use X11 as the graphics layer, however. As the FAQ states, you can't mix posix and win32 api objects. Michael On Thu, 2002-07-25 at 21:16, elein wrote: > > I'm looking for cygwin (not windows) binaries for gtk+. > > I cannot seem to compile gtk+ under cygwin. I get stuck > when linking glib/gobject. It complains that the libraries kernel32, > user32 and wsock32 are static and it needs them to be shared. > (If you know how to get around this problem, I'd certainly like > to hear from you.) > > Is this why cygwin doesn't come with these built in? > > Thanks for your help. I've just joined this list so please redirect > me if this is the wrong place to ask this question. > > elein > > :~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~: > elein norcov com (510)543-6079 > "Taking a Trip. Not taking a Trip." --anonymous > :~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~: > > _______________________________________________ > gtk-list mailing list > gtk-list gnome org > http://mail.gnome.org/mailman/listinfo/gtk-list -- Public key available from http://students.cs.byu.edu/~torriem
Attachment:
signature.asc
Description: This is a digitally signed message part