diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-27 19:03:31 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-27 19:03:31 +0000 |
commit | a24ffc0be5218cd41a6ede1b7b8bb51a97f41395 (patch) | |
tree | 95a07b52327b6d1a6ee43c331ed5f15a0769a4ef | |
parent | f946bb38a6478c155091a182020a94493c09a5da (diff) | |
download | perl-a24ffc0be5218cd41a6ede1b7b8bb51a97f41395.tar.gz |
Microperl tweaks.
p4raw-id: //depot/perl@10235
-rw-r--r-- | Makefile.micro | 3 | ||||
-rw-r--r-- | uconfig.h | 14 | ||||
-rwxr-xr-x | uconfig.sh | 8 |
3 files changed, 16 insertions, 9 deletions
diff --git a/Makefile.micro b/Makefile.micro index 1ac87b4ed7..304db0b972 100644 --- a/Makefile.micro +++ b/Makefile.micro @@ -1,7 +1,8 @@ CC = cc LD = $(CC) DEFINES = -DPERL_CORE -DPERL_MICRO -CFLAGS = $(DEFINES) +OPTIMIZE = +CFLAGS = $(DEFINES) $(OPTIMIZE) LIBS = -lm _O = .o @@ -981,7 +981,7 @@ * preprocessor can make decisions based on it. */ #define INTSIZE 1 /**/ -#define LONGSIZE 1 /**/ +#define LONGSIZE 4 /**/ #define SHORTSIZE 1 /**/ /* MULTIARCH: @@ -1038,7 +1038,13 @@ * by Configure. You shouldn't rely on it too much; the specific * feature tests from Configure are generally more reliable. */ +/* OSVERS: + * This symbol contains the version of the operating system, as determined + * by Configure. You shouldn't rely on it too much; the specific + * feature tests from Configure are generally more reliable. + */ #define OSNAME "unknown" /**/ +#define OSVERS "" /**/ /* MEM_ALIGNBYTES: * This symbol contains the number of bytes required to align a @@ -1146,7 +1152,7 @@ # define BYTEORDER 0x4321 # endif #else -#define BYTEORDER 0x12 /* large digits for MSB */ +#define BYTEORDER 0x1234 /* large digits for MSB */ #endif /* NeXT */ /* CAT2: @@ -2324,7 +2330,7 @@ * This symbol contains the size of a double, so that the C preprocessor * can make decisions based on it. */ -#define DOUBLESIZE 1 /**/ +#define DOUBLESIZE 8 /**/ /* EBCDIC: * This symbol, if defined, indicates that this system uses @@ -2927,7 +2933,7 @@ * the compiler supports (void *); otherwise it will be * sizeof(char *). */ -#define PTRSIZE 1 /**/ +#define PTRSIZE 4 /**/ /* Drand01: * This macro is to be used to generate uniformly distributed diff --git a/uconfig.sh b/uconfig.sh index ed31a3daf3..d5254f1f38 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -9,7 +9,7 @@ archlibexp='/usr/local/lib/perl5/5.7/unknown' archname='unknown' bin='/usr/local/bin' bincompat5005='define' -byteorder='12' +byteorder='1234' castflags='0' charsize='1' clocktype='clock_t' @@ -342,7 +342,7 @@ db_hashtype='u_int32_t' db_prefixtype='size_t' defvoidused=1 direntrytype='struct dirent' -doublesize=1 +doublesize='8' drand01="((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15))" eagain='EAGAIN' ebcdic='undef' @@ -458,7 +458,7 @@ ivtype='long' lib_ext='.a' longdblsize=1 longlongsize=1 -longsize=1 +longsize='4' lseeksize=1 lseektype=int malloctype='int*' @@ -490,7 +490,7 @@ pm_apiversion='5.005' privlib='/usr/local/lib/perl5/5.7' privlibexp='/usr/local/lib/perl5/5.7' prototype='undef' -ptrsize=1 +ptrsize='4' quadkind='4' quadtype='int64_t' randbits='48' |