Re: QNX support for glib 1.2.7 --- suggested fixes/patches
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: Alessandro Cella <alce solari it>
- Cc: Gtk Development List <gtk-devel-list gnome org>
- Subject: Re: QNX support for glib 1.2.7 --- suggested fixes/patches
- Date: Tue, 31 Oct 2000 16:18:01 +0100
Hi Alessandro,
> hi, i just managed to compile glib 1.2.7 under QNX 4.25 (pc arch) with
> watcom C, and asking myself whether you were willing to add support for this
> platform.
If it's possible easily, yes.
> * QNX has no 'ld', alas the linker is 'wlink' (watcom C), so the suggested
> modification to configure.in follows:
> ===>8=== ld/wlink configure.in patch ===>8===
> dnl check if ld is wlink (QNX)
> AC_CHECK_PROG(LD, wlink, wlink)
> ===>8=== ld/wlink configure.in patch ===>8===
Isn't that the job of libtool? I would contact them.
> * QNX has FD_SET in sys/select.h, but configure fails in recognizing it and
> defines
> #define FD_NOT_SET 1 (which is wrong); i think problem lies here (no fd_mask
> in sight
> in sys/select.h but fd_set there):
>
> # Check if <sys/select.h> needs to be included for fd_set
> AC_MSG_CHECKING([for fd_set])
> AC_TRY_COMPILE([#include <sys/types.h>],
> [fd_set readMask, writeMask;], gtk_ok=yes, gtk_ok=no)
> if test $gtk_ok = yes; then
> AC_MSG_RESULT([yes, found in sys/types.h])
> else
> =========> AC_HEADER_EGREP(fd_mask, sys/select.h, gtk_ok=yes)
> <============================
> if test $gtk_ok = yes; then
> AC_DEFINE(HAVE_SYS_SELECT_H)
> AC_MSG_RESULT([yes, found in sys/select.h])
> else
> AC_DEFINE(NO_FD_SET)
> AC_MSG_RESULT(no)
> fi
> fi
Ok, that is fixed in CVS HEAD. Could you please try to compile the CVS version
of GLib. Details on http://developer.gnome.org/tools/cvs.html
[CC-ed to gtk-devel, as it belongs there.]
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi ira uka de | är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]