bc: fix incomplete update for 'os* and 'arch reporting
This commit is contained in:
parent
39d5adc745
commit
a6e683cc71
|
@ -134,7 +134,7 @@
|
||||||
# define ASM_DBLPREC_CONTROL_87
|
# define ASM_DBLPREC_CONTROL_87
|
||||||
# define MZ_TRY_EXTFLONUMS
|
# define MZ_TRY_EXTFLONUMS
|
||||||
# endif
|
# endif
|
||||||
# ifndef SCHEME_PLATFORM_LIBRARY_SUBPATH
|
# ifndef SCHEME_ARCH
|
||||||
# define SCHEME_ARCH "unknown"
|
# define SCHEME_ARCH "unknown"
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
@ -222,27 +222,29 @@
|
||||||
|
|
||||||
#if defined(__OpenBSD__) && !defined(__Bitrig__)
|
#if defined(__OpenBSD__) && !defined(__Bitrig__)
|
||||||
|
|
||||||
|
# define SCHEME_OS "openbsd"
|
||||||
|
|
||||||
# if defined(__x86_64__)
|
# if defined(__x86_64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "x86_64-openbsd"
|
# define SCHEME_ARCH "x86_64"
|
||||||
# define IMPLEMENT_WRITE_XOR_EXECUTE_BY_SIGNAL_HANDLER
|
# define IMPLEMENT_WRITE_XOR_EXECUTE_BY_SIGNAL_HANDLER
|
||||||
# elif defined(__i386__) || defined(i386)
|
# elif defined(__i386__) || defined(i386)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-openbsd"
|
# define SCHEME_ARCH "i386"
|
||||||
# elif defined(__mips64__)
|
# elif defined(__mips64__)
|
||||||
# if defined(__MIPSEL__)
|
# if defined(__MIPSEL__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips64el-openbsd"
|
# define SCHEME_ARCH "mips64el"
|
||||||
# else
|
# else
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips64-openbsd"
|
# define SCHEME_ARCH "mips64"
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__powerpc__)
|
# elif defined(__powerpc__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "ppc-openbsd"
|
# define SCHEME_ARCH "ppc"
|
||||||
# elif defined(__sparc64__)
|
# elif defined(__sparc64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "sparc64-openbsd"
|
# define SCHEME_ARCH "sparc64"
|
||||||
# elif defined(__arm__) || defined(__thumb__)
|
# elif defined(__arm__) || defined(__thumb__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "arm-openbsd"
|
# define SCHEME_ARCH "arm"
|
||||||
# elif defined(__aarch64__)
|
# elif defined(__aarch64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "aarch64-openbsd"
|
# define SCHEME_ARCH "aarch64"
|
||||||
# elif defined(__hppa__)
|
# elif defined(__hppa__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "hppa-openbsd"
|
# define SCHEME_ARCH "hppa"
|
||||||
# else
|
# else
|
||||||
# error Unported platform.
|
# error Unported platform.
|
||||||
# endif
|
# endif
|
||||||
|
@ -294,10 +296,12 @@
|
||||||
|
|
||||||
#if defined(__Bitrig__)
|
#if defined(__Bitrig__)
|
||||||
|
|
||||||
|
# define SCHEME_OS "bitrig"
|
||||||
|
|
||||||
# if defined(__x86_64__)
|
# if defined(__x86_64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "x86_64-bitrig"
|
# define SCHEME_ARCH "x86_64"
|
||||||
# elif defined(__arm__) || defined(__thumb__)
|
# elif defined(__arm__) || defined(__thumb__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "arm-bitrig"
|
# define SCHEME_ARCH "arm"
|
||||||
# else
|
# else
|
||||||
# error Unported platform.
|
# error Unported platform.
|
||||||
# endif
|
# endif
|
||||||
|
@ -335,8 +339,10 @@
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
|
|
||||||
|
# define SCHEME_OS "freebsd"
|
||||||
|
|
||||||
# if defined(__i386__)
|
# if defined(__i386__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-freebsd"
|
# define SCHEME_ARCH "i386"
|
||||||
# define REGISTER_POOR_MACHINE
|
# define REGISTER_POOR_MACHINE
|
||||||
# define MZ_USE_JIT_I386
|
# define MZ_USE_JIT_I386
|
||||||
# define MZ_TRY_EXTFLONUMS
|
# define MZ_TRY_EXTFLONUMS
|
||||||
|
@ -346,7 +352,7 @@
|
||||||
# define FREEBSD_CONTROL_387
|
# define FREEBSD_CONTROL_387
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__amd64__)
|
# elif defined(__amd64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "amd64-freebsd"
|
# define SCHEME_ARCH "amd64"
|
||||||
# define REGISTER_POOR_MACHINE
|
# define REGISTER_POOR_MACHINE
|
||||||
# define MZ_USE_JIT_X86_64
|
# define MZ_USE_JIT_X86_64
|
||||||
# define MZ_TRY_EXTFLONUMS
|
# define MZ_TRY_EXTFLONUMS
|
||||||
|
@ -354,14 +360,14 @@
|
||||||
# define ASM_DBLPREC_CONTROL_87
|
# define ASM_DBLPREC_CONTROL_87
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__sparc64__)
|
# elif defined(__sparc64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "sparc64-freebsd"
|
# define SCHEME_ARCH "sparc64"
|
||||||
# define FLUSH_SPARC_REGISTER_WINDOWS
|
# define FLUSH_SPARC_REGISTER_WINDOWS
|
||||||
# elif defined(__arm__)
|
# elif defined(__arm__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "arm-freebsd"
|
# define SCHEME_ARCH "arm"
|
||||||
# elif defined(__aarch64__)
|
# elif defined(__aarch64__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "aarch64-freebsd"
|
# define SCHEME_ARCH "aarch64"
|
||||||
# elif defined(__powerpc__)
|
# elif defined(__powerpc__)
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "ppc-freebsd"
|
# define SCHEME_ARCH "ppc"
|
||||||
# define MZ_USE_JIT_PPC
|
# define MZ_USE_JIT_PPC
|
||||||
# else
|
# else
|
||||||
# error Unported platform.
|
# error Unported platform.
|
||||||
|
@ -393,7 +399,8 @@
|
||||||
#if (defined(mips) || defined(__mips)) \
|
#if (defined(mips) || defined(__mips)) \
|
||||||
&& !(defined(ultrix) || defined(__ultrix) || defined(__linux__) || defined(__OpenBSD__))
|
&& !(defined(ultrix) || defined(__ultrix) || defined(__linux__) || defined(__OpenBSD__))
|
||||||
|
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips-irix"
|
# define SCHEME_OS "irix"
|
||||||
|
# define SCHEME_ARCH "mips"
|
||||||
|
|
||||||
# include "uconfig.h"
|
# include "uconfig.h"
|
||||||
|
|
||||||
|
@ -410,7 +417,8 @@
|
||||||
|
|
||||||
#if defined(ultrix) || defined(__ultrix)
|
#if defined(ultrix) || defined(__ultrix)
|
||||||
|
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "mips-ultrix"
|
# define SCHEME_OS "ultrix"
|
||||||
|
# define SCHEME_ARCH "mips"
|
||||||
|
|
||||||
# include "uconfig.h"
|
# include "uconfig.h"
|
||||||
# undef UNIX_DYNAMIC_LOAD
|
# undef UNIX_DYNAMIC_LOAD
|
||||||
|
@ -424,7 +432,8 @@
|
||||||
# if (defined(__alpha) || defined(__alpha__)) \
|
# if (defined(__alpha) || defined(__alpha__)) \
|
||||||
&& !defined(__linux__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
&& !defined(__linux__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
||||||
|
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "alpha-osf1"
|
# define SCHEME_OS "osf1"
|
||||||
|
# define SCHEME_ARCH "alpha"
|
||||||
|
|
||||||
# include "uconfig.h"
|
# include "uconfig.h"
|
||||||
|
|
||||||
|
@ -441,7 +450,8 @@
|
||||||
|
|
||||||
#if defined(__hpux)
|
#if defined(__hpux)
|
||||||
|
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "parisc-hpux"
|
# define SCHEME_OS "hpux"
|
||||||
|
# define SCHEME_ARCH "parisc"
|
||||||
|
|
||||||
# include "uconfig.h"
|
# include "uconfig.h"
|
||||||
|
|
||||||
|
@ -460,7 +470,8 @@
|
||||||
|
|
||||||
#if defined(_M_XENIX) && defined(_M_SYSV)
|
#if defined(_M_XENIX) && defined(_M_SYSV)
|
||||||
|
|
||||||
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "sco-i386"
|
# define SCHEME_OS "sco"
|
||||||
|
# define SCHEME_ARCH "i386"
|
||||||
|
|
||||||
# include "uconfig.h"
|
# include "uconfig.h"
|
||||||
#ifndef __ELF__
|
#ifndef __ELF__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user