[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ported es to GNU Win32 + HPUX10.01
- To: es@hawkwind.utcs.toronto.edu
- Subject: Ported es to GNU Win32 + HPUX10.01
- From: Jonathan Storey <joz@mentor-systems.com>
- Date: Fri, 3 Apr 1998 07:33:03 -0500
- Importance: Normal
- Mmdf-warning: Parse error in original version of preceding line at post.mail.demon.net
Hello ES people
Just a little note to say HI and to say that I have sucessfully ported es
0.9 beta1 to the following environments:
HPUX10.01 and GNU Win32 (Beta 19)
The problems I had to resolve were:
Under GNU Win32 Beta19 I had to
1.)
#include "time.h" to get CLK_TCK definition required by prim-sys.c
2.)
edit the Makefile and give SIGNALS a value of:
/H-i386-cygwin32/i386-cygwin32/include/sys/signal.h
3.)
bison insisted on looking for 'bison.simple' under /cygnus/b19/share
even though I had installed GNUWin32 under /gnuwin32
so I created cygnus/b19 under my root of /gnuwin32/b19 and
created a symbolic link to 'share' and everything was OK.
Under HP-UX 10.01 it was a little trickier: (?!)
I had to #include "resource.h" and define _KERNEL to get the RLIMIT_* values
required by prim-sys.c
Defining _KERNEL prevented _NSIG being defined by the system headers, so I
just got it's value (31) and defined _NSIG to be 31 and then we were cookin'
In short I modded the Makefile and added -D_KERNEL -D_NSIG=31 after the
rest of the CCOPTS.
The path to YACC on this box was /opt/langtools/bin/yacc, which I also added
to the Makefike under YACC=
I'm sure that there are ``proper'' ways of getting this to compile smoothly
under
these environments, but I haven't had time yet to consider how to implement
the changes required. Hope this info proves useful to somebody.
Regards
JOZ.
joz@thinktank.demon.co.uk (Home)
joz@mentor-systems.com (Work)
pS.
Oh Yeah, I found what I believe to be a bug (although it may just be
porting issue)
try typing $&<any alphanumeric sequence>. (include the full-stop) and see
what happens!
try $&0.