From: Jarkko Hietaniemi Date: Sun, 27 May 2001 19:03:31 +0000 (+0000) Subject: Microperl tweaks. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a24ffc0be5218cd41a6ede1b7b8bb51a97f41395;p=p5sagit%2Fp5-mst-13.2.git Microperl tweaks. p4raw-id: //depot/perl@10235 --- diff --git a/Makefile.micro b/Makefile.micro index 1ac87b4..304db0b 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 diff --git a/uconfig.h b/uconfig.h index dd57e19..8766659 100644 --- a/uconfig.h +++ b/uconfig.h @@ -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 ed31a3d..d5254f1 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'