}
-add_args_to_cflags -fsigned-char -pipe -fcommon \
+add_args_to_cflags -fsigned-char -pipe -fcommon \
-fno-builtin-malloc -fno-builtin-free \
-fno-PIE -fno-pie -fno-PIC -fno-pic \
-Wall \
assert_arg_to_cflags -mms-bitfields
assert_arg_to_ldflags -Wl,--stack,8000000;;
386-macosx)
+# assert_arg_to_cflags -Wno-error=implicit-function-declaration
+ add_arg_to_cflags -Wno-incomplete-setjmp-declaration
assert_arg_to_ldflags -Wl,-no_pie
if test "$build_cpu" = "x86_64" ; then
assert_arg_to_cflags -m64
# for the system. This can usually be done via the "uname" command, but
# there are a few systems, like Next, where this doesn't work.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking system version (for dynamic loading)" >&5
-$as_echo_n "checking system version (for dynamic loading)... " >&6; }
-if machine=`uname -m` ; then true; else machine=unknown ; fi
-
for ac_prog in makeinfo
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking system version (for dynamic loading)" >&5
+$as_echo_n "checking system version (for dynamic loading)... " >&6; }
+if machine=`uname -m` ; then true; else machine=unknown ; fi
+
if test -f /usr/lib/NextStep/software_version; then
system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`
else
/* end confdefs.h. */
#include <stdio.h>
+ #include <stdlib.h>
#define EXTER
#define INLINE
#include "$MP_INCLUDE"
/* end confdefs.h. */
#include <stdio.h>
+ #include <stdlib.h>
#define EXTER
#define INLINE
#include "$MP_INCLUDE"
}
-add_args_to_cflags -fsigned-char -pipe -fcommon \
+add_args_to_cflags -fsigned-char -pipe -fcommon \
-fno-builtin-malloc -fno-builtin-free \
-fno-PIE -fno-pie -fno-PIC -fno-pic \
-Wall \
assert_arg_to_cflags -mms-bitfields
assert_arg_to_ldflags -Wl,--stack,8000000;;
386-macosx)
+# assert_arg_to_cflags -Wno-error=implicit-function-declaration
+ add_arg_to_cflags -Wno-incomplete-setjmp-declaration
assert_arg_to_ldflags -Wl,-no_pie
if test "$build_cpu" = "x86_64" ; then
assert_arg_to_cflags -m64
# for the system. This can usually be done via the "uname" command, but
# there are a few systems, like Next, where this doesn't work.
-AC_MSG_CHECKING([system version (for dynamic loading)])
-if machine=`uname -m` ; then true; else machine=unknown ; fi
-
AC_CHECK_PROGS(MAKEINFO,makeinfo,"false")
AC_SUBST(MAKEINFO)
+AC_MSG_CHECKING([system version (for dynamic loading)])
+if machine=`uname -m` ; then true; else machine=unknown ; fi
+
if test -f /usr/lib/NextStep/software_version; then
system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`
else
[AC_LANG_PROGRAM(
[[
#include <stdio.h>
+ #include <stdlib.h>
#define EXTER
#define INLINE
#include "$MP_INCLUDE"
[AC_LANG_PROGRAM(
[[
#include <stdio.h>
+ #include <stdlib.h>
#define EXTER
#define INLINE
#include "$MP_INCLUDE"
#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
-{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
-f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
-for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
-h(){}g(){}
+{t1 c=0,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
+int h(){return 0;}
+int g(){return 0;}
+int f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
+ for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();} return 0;}
#else
int dummy;
#endif
1666 to get an ICE with -O1 -mpowerpc64. */
#if defined (__GNUC__) && ! defined (__cplusplus)
-f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
-g(){}
+int g(){return 0;}
+int f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();return 0;}
#else
int dummy;
#endif
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
AC_CACHE_CHECK([for build system executable suffix],
gmp_cv_prog_exeext_for_build,
[cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
AC_CACHE_CHECK([whether build system compiler is ANSI],
gmp_cv_c_for_build_ansi,
[cat >conftest.c <<EOF
+#include <stdlib.h>
int
main (int argc, char **argv)
{
AC_CACHE_CHECK([for build system compiler math library],
gmp_cv_check_libm_for_build,
[cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
-{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
-f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
-for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
-h(){}g(){}
+{t1 c=0,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
+int h(){return 0;}
+int g(){return 0;}
+int f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
+ for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();} return 0;}
#else
int dummy;
#endif
1666 to get an ICE with -O1 -mpowerpc64. */
#if defined (__GNUC__) && ! defined (__cplusplus)
-f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
-g(){}
+int g(){return 0;}
+int f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();return 0;}
#else
int dummy;
#endif
#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
-{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
-f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
-for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
-h(){}g(){}
+{t1 c=0,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
+int h(){return 0;}
+int g(){return 0;}
+int f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
+ for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();} return 0;}
#else
int dummy;
#endif
1666 to get an ICE with -O1 -mpowerpc64. */
#if defined (__GNUC__) && ! defined (__cplusplus)
-f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();}
-g(){}
+int g(){return 0;}
+int f(int u){int i;long long x;x=u?~0:0;if(x)for(i=0;i<9;i++);x&=g();if(x)g();return 0;}
#else
int dummy;
#endif
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
# remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
$as_echo_n "(cached) " >&6
else
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
$as_echo_n "(cached) " >&6
else
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main (int argc, char **argv)
{
$as_echo_n "(cached) " >&6
else
cat >conftest.c <<EOF
+#include <stdlib.h>
int
main ()
{
b[i]= va_arg(ap,object);
va_end(ap);
- return IapplyVector(sSuniversal_error_handler,n,b);
+ IapplyVector(sSuniversal_error_handler,n,b);
}
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
static void
init_main(void);
RETURN1((object)(w-stack_to_be_allocated));
}
+#if !defined(DARWIN)&&!defined(__MINGW32__)
+
static int
mbin(const char *s,char *o) {
}
-
+#endif
int
main(int argc, char **argv, char **envp) {
(_fl<=S_SYMBOL_STUBS || _fl==S_16BYTE_LITERALS) && _fl!=S_ZEROFILL;})
-#define MASK(n) (~(~0L << (n)))
+#define MASK(n) (~(~0ULL << (n)))
string routines
*/
+#include <string.h>
#include "include.h"
object sKstart1;
sc.fileoff = curr_file_offset;
sc.filesize = core_end-mach_mapstart;
sc.maxprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE;
- sc.initprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE;
+ sc.initprot = VM_PROT_READ | VM_PROT_WRITE /* | VM_PROT_EXECUTE */;
sc.nsects = 0;
sc.flags = 0;
-e "s#@LI-OPT-TWO@#\"$(O2FLAGS)\"#1" \
-e "s#@LI-INIT-LSP@#\"$@\"#1" >$@
-
saved_%:raw_% $(RSYM) sys_init.lsp raw_%_map msys \
$(CMPDIR)/gcl_cmpmain.lsp \
$(CMPDIR)/gcl_lfun_list.lsp \