This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: enlightenment & Eterm
- To: cygwin-xfree at sources dot redhat dot com
- Subject: RE: enlightenment & Eterm
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 30 Apr 2001 08:36:21 -0400
Alan,
Have also checked X11/X11-def.cpp and Xext/Xext-def.cpp?
I do not have xc tree at my office PC. I remember #ifdef outing some XSHM
export
symbols with #ifdef __CYGWIN__
Your dlls might be missing a few export symbols. I do not remember
what I used for #ifdef... I will check later tonight.
Suhaib
> -----Original Message-----
> From: Alan Hourihane [mailto:alanh@fairlite.demon.co.uk]
> Sent: Monday, April 30, 2001 5:12 AM
> To: cygwin-xfree@sources.redhat.com
> Subject: enlightenment & Eterm
>
>
> Just thought I'd let people know - that with the help of the add-on to
> cygwin - cygipc. I've been able to build a shared memory
> version of libXext
> and therefore also I've now been able to compile the
> enlightenment window
> manager and Eterm. Very nice!
>
> I got CygIPC from
> http://www.neuro.gatech.edu/users/cwilson/cygutils/v1.1/cygipc
>
> You have to do a little hacking on enlightenment & Eterm to
> build properly too.
>
> There's also a small patch to the cygwin.cf and one to
> X11/Font.c (looks like it
> was older cygipc.h support). Attached below.
>
> So when building X, all you need to put in your
> xc/config/cf/host.def is
>
> #define UseCygIPC YES
>
> and you'll get a shared memory version of X.
>
> Alan.
>
> Index: cygwin.cf
> ===================================================================
> RCS file: /X11R6/x-cvs/xc/config/cf/cygwin.cf,v
> retrieving revision 3.9
> diff -u -r3.9 cygwin.cf
> --- cygwin.cf 2001/04/27 12:32:42 3.9
> +++ cygwin.cf 2001/04/30 08:45:42
> @@ -34,7 +34,12 @@
> #define HasLibCrypt YES
> #define HasPutenv YES
> #define HasPoll NO
> -#define HasShm NO
> +#if UseCygIPC
> +# define HasShm YES
> +# define HasShmDefines -DHAS_SHM
> +#else
> +# define HasShm NO
> +#endif
> #define HasSnprintf YES
> #define HasZlib YES
>
> @@ -103,7 +108,7 @@
>
> #define OptimizedCDebugFlags -O2 -fno-strength-reduce
> -fpcc-struct-return -m486
>
> -#define StandardDefines -D__i386__
> -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__STDC__
> -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
> -D_GNU_SOURCE -DX_SOURCE
> +#define StandardDefines -D__i386__
> -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__STDC__
> -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
> -D_GNU_SOURCE -DX_SOURCE HasShmDefines
>
> #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
> #define HasWChar32 YES
> Index: Font.c
> ===================================================================
> RCS file: /X11R6/x-cvs/xc/lib/X11/Font.c,v
> retrieving revision 1.12
> diff -u -r1.12 Font.c
> --- Font.c 2001/01/17 19:41:35 1.12
> +++ Font.c 2001/04/30 08:11:07
> @@ -39,11 +39,7 @@
> #ifdef USE_XF86BIGFONT
> #include <sys/types.h>
> #ifdef HAS_SHM
> -#ifndef __CYGWIN__
> #include <sys/ipc.h>
> -#else
> -#include <sys/cygipc.h>
> -#endif
> #include <sys/shm.h>
> #endif
>
>