Port to HP NonStop S-Series (Craig McDniel)

This commit is contained in:
jgarcia 2007-03-24 11:51:03 +00:00
parent 88fb67badc
commit 87c10c1fa1
6 changed files with 510 additions and 1610 deletions

View file

@ -5,6 +5,9 @@ ECL 1.0:
- Support for GNU/kFreeBSD
- ECL has additionally been ported to GNU/Hurd (Pierre Thierry) and
HP NonStop S-Series (Craig McDaniel)
* New features:
- New commands, :RESTART, :R1, :R2, etc, allow invoking restarts (contributed

View file

@ -29,15 +29,17 @@
#include <ecl/internal.h>
#ifdef HAVE_SELECT
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
# ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
# endif
# include <sys/time.h>
# include <sys/types.h>
# include <unistd.h>
#elif defined(mingw32) || defined(_MSC_VER)
#include <winsock.h>
#define HAVE_SELECT
# include <winsock.h>
# define HAVE_SELECT
#elif defined(HAVE_SYS_IOCTL_H) && !defined(MSDOS) && !defined(cygwin)
#include <sys/ioctl.h>
# include <sys/ioctl.h>
#endif
#define MAKE_BIT_MASK(n) ((1<<(n))-1)

View file

@ -50,13 +50,20 @@
#-:wants-dlopen
(setf c::*ld-flags*
"@LDFLAGS@ @LDRPATH@ @LIBPREFIX@ecl.@LIBEXT@ @CORE_LIBS@ @LIBS@ @FASL_LIBS@")
#+:wants-dlopen
#+(and :wants-dlopen (not nonstop))
(setf c::*ld-flags*
"@LDFLAGS@ @LDRPATH@ @SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@"
c::*ld-shared-flags*
"@LDRPATH@ @SHARED_LDFLAGS@ @LDFLAGS@ @SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@ @FASL_LIBS@"
c::*ld-bundle-flags*
"@LDRPATH@ @BUNDLE_LDFLAGS@ @LDFLAGS@ @SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@ @FASL_LIBS@")
#+(and :wants-dlopen nonstop)
(setf c::*ld-flags*
"@LDFLAGS@ @LDRPATH@ -Wld=-l@SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@"
c::*ld-shared-flags*
"@LDRPATH@ @SHARED_LDFLAGS@ @LDFLAGS@ -Wld=-l@SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@ @FASL_LIBS@"
c::*ld-bundle-flags*
"@LDRPATH@ @BUNDLE_LDFLAGS@ @LDFLAGS@ -Wld=-l@SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@ @FASL_LIBS@")
;;;
;;; * Avoid name clashes with user supplied code.

2089
src/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -361,7 +361,7 @@ AC_CHECK_HEADERS( [fcntl.h inttypes.h limits.h netdb.h netinet/in.h] \
dnl !!! end autoscan
AC_CHECK_HEADERS( [sys/resource.h sys/utsname.h float.h pwd.h dlfcn.h link.h] \
[mach-o/dyld.h ulimit.h dirent.h sys/ioctl.h])
[mach-o/dyld.h ulimit.h dirent.h sys/ioctl.h sys/select.h])
dnl =====================================================================
dnl Checks for typedefs, structures, and compiler characteristics.

View file

@ -193,6 +193,7 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_hashkey;
#undef HAVE_FLOAT_H
/* select() */
#undef HAVE_SELECT
#undef HAVE_SYS_SELECT_H
#undef HAVE_SYS_IOCTL_H
/* putenv() or setenv() */
#undef HAVE_SETENV