Re: [gnet-dev] Cross-compiling gnet for win32 from linux
- From: "Dov Grobgeld" <dov grobgeld gmail com>
- To: "ben levitt" <benjie gmail com>
- Cc: gnet-dev lists gnetlibrary org
- Subject: Re: [gnet-dev] Cross-compiling gnet for win32 from linux
- Date: Wed, 1 Mar 2006 08:25:09 +0200
This sounds like the same problems that I had with gnet-2.0.7 and
gtk+-2.6.* on Windows. Only after upgrading to gtk+-2.8.0 did gnet
start working. This upgrade isn't without cost though, as neither gaim
nor gnumeric work yet under gtk+-2.8.0...
Regards,
Dov
On 2/28/06, ben levitt <benjie gmail com> wrote:
> Hello,
>
> I'm trying to cross-compile cvs gnet on a linux box, for win32 using
> mingw for linux.
>
> I ran configure with --disable-pthreads and --prefix=/target, and then
> manually edited src/Makefile and examples/Makefile to add -lws2_32.
>
> I can then make; make install and end up with libgnet-2.0-0.dll,
> libgnet-2.0.dll.a, and libgnet-2.0.la.
>
> But when I try to run my own programs, or the gnet examples under
> windows, using my libgnet-2.0-0.dll, no connections get made. I have
> the gtkmm-2.6.2 runtime libs installed, and gtkmm programs that I
> cross-compile do work. Interestingly, the gnet examples that I
> cross-compile do work under wine using this libgnet-2.0-0.dll . Just
> not under real windows. :(
>
> I also tried adding -mms-bitfields and -mwindows into the makefiles,
> but it didn't seem to help.
>
> My libgnet-2.0-0.dll, libgnet-2.0.dll.a, and libgnet-2.0.la are
> available here in case that helps:
> http://benjie.org/software/libgnet-2.0-0.dll
> http://benjie.org/software/libgnet-2.0.dll.a
> http://benjie.org/software/libgnet-2.0.la
>
> Any ideas? Or if you have known-working, recent, precompiled binaries
> that you could send, that would be a welcome shortcut!
>
> Thanks for any help you can give,
>
> Ben
> _______________________________________________
> gnet-dev mailing list
> gnet-dev lists gnetlibrary org
> http://lists.gnetlibrary.org/mailman/listinfo/gnet-dev
>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]