delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/09:07:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <017501c0c288$1faebce0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <Chang_Shen AT progressive DOT com>, <cygwin AT cygwin DOT com>
References: <85256A2B DOT 00471AEF DOT 00 AT s65a0384 DOT prci DOT com>
Subject: Re: glib for cygwin
Date: Wed, 11 Apr 2001 23:05:45 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 11 Apr 2001 12:59:08.0119 (UTC) FILETIME=[31F99E70:01C0C287]

----- Original Message -----
From: <Chang_Shen AT progressive DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Wednesday, April 11, 2001 10:56 PM
Subject: glib for cygwin


> Hi, all,
> I have tried to compile glib and so far have not been successful.
Jong B. Lee
> claimed he was be able to compile glib-1.2.8 with modification
g_strsignal() to
> const gchar* g_strsignal(), and const char* strsignal().  But I still
got error,
> especially in gthread_posix.c, even with the newest beta version.
Charles
> Wilson pointed me to mailing list
http://groups.yahoo.com/group/gimpwin-dev/,  I
> searched there (I was unable to post question over there since my
membership has
> yet to be approved) and did not find satisfactory answer.
>
> My question is:  Does Cygwin support glib/gtk yet.  Anyone has glib
tar ball
> which can be compiled?

I believe Jong does.

> If cygwin is a truly unix like api, other gnu code should be compiled
under
> cygwin without (major?) modification, right?

Yes. Note that Unix is a very large platform. Not all unixes support all
features - thats why glib has 3 or 4 different module sub-libraries. and
multiple different threads libraries. So being able to compile gnu code
with little modification does not mean you can compile all code at all.

> I am pretty new to cygwin.  I only used cygnus (unix like shell )
couple years
> ago (1997?).  So my question may seems like stupid.
>
> Thanks
>
> CS
>

I've been able to compile glib 1.2.8 for over 8 months. I had serious
problems with module support, which IIRC Jong claimed to have solved.

Jong gave out this link http://my.dreamwiz.com/jbdoll/ for a download of
his patched glib. - with working modules.

Thread support was broken (compile with --enable-threads=none) but I
have it working here. I'm currently tidying up some code with
pthread_key's before I submit a new patch to cygwin. I have glib here
with working threads (but no modules as I haven't looked into Jong's
patch :]).

It's very important to use the cygwin pthreads, not win32 threads, if
your application uses fork(). _DO NOT_ try glib compiled with cygwin
with threads=win32.

Rob




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019