Re: [gnet] Gnet on cygwin
- From: nalves equifax com br
- To: Andrewlanoix aol com
- Cc: gnet gnetlibrary org, gnet-admin gnetlibrary org
- Subject: Re: [gnet] Gnet on cygwin
- Date: Fri, 29 Aug 2003 10:19:43 -0300
I found in another mailing list that I should install a port of bind to
cygwin, so I would have the headers/libs that are missing (nameser.h, for
instance). I'm trying to do this, but I'm having some problems during the
link stage of my compilation. Do you know this procedure?
___________________________________________________
Nelio Alves
Equifax do Brasil - System Architect
+55 -11 3016-6180
nalves equifax com br
Andrewlanoix aol
com To: nalves equifax com br, gnet gnetlibrary org
Sent by: cc:
gnet-admin gnetli Subject: Re: [gnet] Gnet on cygwin
brary.org
28/08/2003 22:26
Hi Nelio,
In your case you need to use -mno-cygwin and -mms-bitfields flags with GCC.
Otherwise it will not work as you can see. This is because you want to link
to msvcrt.dll not the cygwin dll and to also deal with struct field
alignment.
See Tor's website: http://www.gimp.org/~tml/gimp/win32/
I recommend you use the glib files off the GNet website until Tor creates
the new glib-2.2.3 zip files. Also I would recommend using a checkout of
GNet from CVS if possible. The Windows GNet zip files will be updated after
glib-2.2.3 zips are created.
Andrew Lanoix
In a message dated 8/28/2003 12:54:46 PM Eastern Daylight Time,
nalves equifax com br writes:
>
>
> Hi list.
>
> Has anyone ever compiled gnet on cygwin? I'm having some troubles:
>
> I compiled and installed glib-2.2.1, but the compilation of gnet reports
> some problems:
> - if I use gnet-2.0.4, I can't find arpa/nameser.h
> - if I use the snapshot for windows, I can't find the
> g_io_channel_new_messages, which is suposed to be in libglib. I noticed
> that this function isn't compiled with glib because it detects that it's
a
> cygwin environment, and compile the giounix.c instead of
> giowin32.c.
>
> Ideas?
>
> Thanks for the attention.
>
> ____________________________________________________
> Nelio Alves
> Equifax do Brasil - System Architect
> +55 -11 3016-6180
> nalves equifax com br
>
>
> _______________________________________________
> gnet mailing list
> gnet gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet
_______________________________________________
gnet mailing list
gnet gnetlibrary org
http://www.gnetlibrary.org/mailman/listinfo/gnet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]