GCL doesn't build on BSDs

View: New views
2 Messages — Rating Filter:   Alert me  

GCL doesn't build on BSDs

by Aleksej Saushev-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Hello!

I'm trying to build GCL on NetBSD (my primary target platform)
and FreeBSD, GCL doesn't support any, despite it is announced.
I'd like to see it supported NetBSD at least, though I don't have
much time to invest.  Thus, I'm asking for help of those, who is
more familiar with GCL internals.

Configuration and build logs of gcl-2.6.7 follow.

$ uname -mrs
NetBSD 4.99.52 i386
$ cc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /home/nick/work/netbsd/src-current/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf4.99.28 --host=i386--netbsdelf --target=i386--netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20070620 prerelease (NetBSD nb1 20070620)
$ /usr/pkg/gcc3/bin/cc -v
Reading specs from /usr/pkg/gcc3/lib/gcc-lib/i386--netbsdelf2.0/3.3.6/specs
Configured with: ./configure --prefix=/usr/pkg/gcc3 --host=i386--netbsdelf2.0 --enable-shared --enable-languages=c
Thread model: posix
gcc version 3.3.6


./configure --prefix=${HOME}/local/gcl
creating cache ./config.cache
checking host system type... i386-unknown-netbsdelf4.99.52
host=i386-unknown-netbsdelf4.99.52
enable_machine=
use=unknown
checking for gcc... gcc
checking whether the C compiler (gcc    ) works... yes
checking whether the C compiler (gcc    ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking system version (for dynamic loading)... checking for makeinfo... makeinfo
NetBSD-4.99.52
checking for unistd.h... yes
checking for sysconf in -lc... yes
checking for _SC_CLK_TCK... 100
checking for gmp.h... no
Cannot use dynamic gmp lib
checking use_gmp=yes, doing configure in gmp directory...
#
#
# -------------------
# Subconfigure of GMP
#
#
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... pentium3-unknown-netbsdelf4.99.52
checking host system type... i386-unknown-netbsdelf4.99.52
checking for a BSD-compatible install... /home/asau/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking compiler i386-unknown-netbsdelf4.99.52-gcc -g -O2 -fomit-frame-pointer ... no
checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
checking compiler gcc -g -O2 -fomit-frame-pointer  -march=i486... yes
checking compiler gcc -g -O2 -fomit-frame-pointer -march=i486  -march=i386... yes
checking for i386-unknown-netbsdelf4.99.52-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
using ABI="standard"
      CC="gcc"
      CFLAGS="-g -O2 -fomit-frame-pointer -march=i486 -march=i386"
      CPPFLAGS=""
checking for gcc option to accept ANSI C... none needed
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for function prototypes... yes
checking for i386-unknown-netbsdelf4.99.52-ar... no
checking for ar... ar
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/pkg/bin/gsed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-unknown-netbsdelf4.99.52-g77... no
checking for i386-unknown-netbsdelf4.99.52-f77... no
checking for i386-unknown-netbsdelf4.99.52-xlf... no
checking for i386-unknown-netbsdelf4.99.52-frt... no
checking for i386-unknown-netbsdelf4.99.52-pgf77... no
checking for i386-unknown-netbsdelf4.99.52-fort77... no
checking for i386-unknown-netbsdelf4.99.52-fl32... no
checking for i386-unknown-netbsdelf4.99.52-af77... no
checking for i386-unknown-netbsdelf4.99.52-f90... no
checking for i386-unknown-netbsdelf4.99.52-xlf90... no
checking for i386-unknown-netbsdelf4.99.52-pgf90... no
checking for i386-unknown-netbsdelf4.99.52-epcf90... no
checking for i386-unknown-netbsdelf4.99.52-f95... no
checking for i386-unknown-netbsdelf4.99.52-fort... no
checking for i386-unknown-netbsdelf4.99.52-xlf95... no
checking for i386-unknown-netbsdelf4.99.52-ifc... no
checking for i386-unknown-netbsdelf4.99.52-efc... no
checking for i386-unknown-netbsdelf4.99.52-pgf95... no
checking for i386-unknown-netbsdelf4.99.52-lf95... no
checking for i386-unknown-netbsdelf4.99.52-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i386-unknown-netbsdelf4.99.52-ar... ar
checking for i386-unknown-netbsdelf4.99.52-ranlib... no
checking for ranlib... ranlib
checking for i386-unknown-netbsdelf4.99.52-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... no
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for cos in -lm... yes
checking for working alloca.h... no
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking for alarm... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for obstack_vprintf... no
checking for popen... yes
checking for processor_info... no
checking for read_real_time... no
checking for strchr... yes
checking for strnlen... no
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... yes
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section... .section .rodata
checking if the export directive needs an attribute...
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking what prefix to use for a local label... .L
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking if the assembler takes cl with shldl... yes
creating config.m4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating demos/expr/expr-impl.h
config.status: creating config.h
config.status: linking ./mpn/x86/udiv.asm to mpn/udiv.asm
config.status: linking ./mpn/x86/umul.asm to mpn/umul.asm
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/x86/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/addmul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/x86/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/x86/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/x86/dive_1.asm to mpn/dive_1.asm
config.status: linking ./mpn/x86/diveby3.asm to mpn/diveby3.asm
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/x86/divrem_1.asm to mpn/divrem_1.asm
config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/x86/mod_1.asm to mpn/mod_1.asm
config.status: linking ./mpn/x86/mod_34lsub1.asm to mpn/mod_34lsub1.asm
config.status: linking ./mpn/generic/mode1o.c to mpn/mode1o.c
config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/x86/mul_basecase.asm to mpn/mul_basecase.asm
config.status: linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/generic/popcount.c to mpn/popcount.c
config.status: linking ./mpn/generic/hamdist.c to mpn/hamdist.c
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/x86/copyi.asm to mpn/copyi.asm
config.status: linking ./mpn/x86/copyd.asm to mpn/copyd.asm
config.status: linking ./mpn/x86/gmp-mparam.h to gmp-mparam.h
config.status: executing default-1 commands
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking for leading underscore in object symbols... no
checking for GNU ld option -Map... yes
checking for size of gmp limbs... 4
checking _SHORT_LIMB... no
checking _LONG_LONG_LIMB... no
checking for X... libraries /usr/pkg/lib, headers /usr/pkg/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
-I/usr/pkg/include
-L/usr/pkg/lib

-lSM -lICE
checking for main in -lXmu... yes
checking for main in -lXt... yes
checking for main in -lXext... yes
checking for main in -lXaw... no
checking for main in -lX11... yes
missing x libraries -- cannot compile xgcl
checking for bfd.h... no
checking for useable bfd_boolean... no
Guessing path to libbfd.a due to gcc bug
Guessing path to libiberty.a due to gcc bug
checking size of long... 4
checking sizeof struct contblock... 8
checking for endian.h... no
checking for sbrk... yes
checking for randomized sbrk... no
checking finding DBEGIN... got 0xbb000000
checking finding CSTACK_ADDRESS... got -1077941412
checking sizeof long long int... yes
checking for pagewidth... 12
checking for getcwd... yes
checking for getwd... yes
checking for uname... yes
checking for gettimeofday... yes
checking for sys/ioctl.h... yes
checking for elf.h... yes
checking for elf_abi.h... no
checking for BSDgettimeofday... no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking for sin in -lm... yes
checking for main in -lmingwex... no
checking for math.h... yes
checking for values.h... no
checking for float.h... yes
checking for isnormal... yes
checking for isfinite... yes
checking for sockets... checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for readline/readline.h... yes
checking for main in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking For network code for nsocket.c... yes
checking check for listen using fcntl... yes
checking for profil... yes
checking for setenv... yes
checking for _cleanup... yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking check for SV_ONSTACK... no
checking check for SIGSYS... yes
checking check for SIGEMT... yes
checking for asm/sigcontext.h... no
checking for asm/signal.h... no
checking for sigcontext...... sigcontext NOT in signal.h
checking for sigcontext...... no sigcontext found
checking for emacs... /usr/pkg/bin/emacs
checking emacs site lisp directory... /usr/pkg/share/emacs/22.1/site-lisp
checking emacs default.el... /usr/pkg/share/emacs/22.1/site-lisp/default.el
checking emacs info/dir... /usr/share/info/
checking for tcl/tk... checking for tclsh... tclsh
checking for main in -llieee... no
using TK_VERSION=8.4 in /usr/pkg/lib
checking alloca... yes
checking Checking for buggy gcc version from redhat... no
Unable to guess machine type
use configure --enable-machine=XXX, for XXX such that h/XXX.defs exists, ie in h/386-bsd.defs h/FreeBSD.defs h/NeXT.defs h/NeXT30-m68k.defs h/NeXT32-i386.defs h/NeXT32-m68k.defs h/NetBSD.defs h/OpenBSD.defs h/alpha-osf1.defs h/dec3100.defs h/dos-go32.defs h/gnuwin95.defs h/hp300-bsd.defs h/hp300.defs h/hp800.defs h/irix5.defs h/irix6.defs h/linux.defs h/mac2.defs h/mingw.defs h/mp386.defs h/ncr.defs h/powerpc-macosx.defs h/rios-aix3.defs h/rios.defs h/rt_aix.defs h/sgi.defs h/sgi4d.defs h/solaris-i386.defs h/solaris.defs h/sun2r3.defs h/sun3-os4.defs h/sun3.defs h/sun386i.defs h/sun4.defs h/symmetry.defs h/u370_aix.defs h/vax.defs


$ ./configure --prefix=${HOME}/local/gcl --enable-machine=NetBSD
loading cache ./config.cache
checking host system type... i386-unknown-netbsdelf4.99.52
host=i386-unknown-netbsdelf4.99.52
enable_machine=NetBSD
use=NetBSD
checking for gcc... gcc
checking whether the C compiler (gcc    ) works... yes
checking whether the C compiler (gcc    ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking system version (for dynamic loading)... checking for makeinfo... makeinfo
NetBSD-4.99.52
checking for unistd.h... yes
checking for sysconf in -lc... yes
checking for _SC_CLK_TCK... 100
checking for gmp.h... no
Cannot use dynamic gmp lib
checking use_gmp=yes, doing configure in gmp directory...
#
#
# -------------------
# Subconfigure of GMP
#
#
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... pentium3-unknown-netbsdelf4.99.52
checking host system type... i386-unknown-netbsdelf4.99.52
checking for a BSD-compatible install... /home/asau/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking compiler i386-unknown-netbsdelf4.99.52-gcc -g -O2 -fomit-frame-pointer ... no
checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
checking compiler gcc -g -O2 -fomit-frame-pointer  -march=i486... yes
checking compiler gcc -g -O2 -fomit-frame-pointer -march=i486  -march=i386... yes
checking for i386-unknown-netbsdelf4.99.52-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
using ABI="standard"
      CC="gcc"
      CFLAGS="-g -O2 -fomit-frame-pointer -march=i486 -march=i386"
      CPPFLAGS=""
checking for gcc option to accept ANSI C... none needed
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for function prototypes... yes
checking for i386-unknown-netbsdelf4.99.52-ar... no
checking for ar... ar
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/pkg/bin/gsed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-unknown-netbsdelf4.99.52-g77... no
checking for i386-unknown-netbsdelf4.99.52-f77... no
checking for i386-unknown-netbsdelf4.99.52-xlf... no
checking for i386-unknown-netbsdelf4.99.52-frt... no
checking for i386-unknown-netbsdelf4.99.52-pgf77... no
checking for i386-unknown-netbsdelf4.99.52-fort77... no
checking for i386-unknown-netbsdelf4.99.52-fl32... no
checking for i386-unknown-netbsdelf4.99.52-af77... no
checking for i386-unknown-netbsdelf4.99.52-f90... no
checking for i386-unknown-netbsdelf4.99.52-xlf90... no
checking for i386-unknown-netbsdelf4.99.52-pgf90... no
checking for i386-unknown-netbsdelf4.99.52-epcf90... no
checking for i386-unknown-netbsdelf4.99.52-f95... no
checking for i386-unknown-netbsdelf4.99.52-fort... no
checking for i386-unknown-netbsdelf4.99.52-xlf95... no
checking for i386-unknown-netbsdelf4.99.52-ifc... no
checking for i386-unknown-netbsdelf4.99.52-efc... no
checking for i386-unknown-netbsdelf4.99.52-pgf95... no
checking for i386-unknown-netbsdelf4.99.52-lf95... no
checking for i386-unknown-netbsdelf4.99.52-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i386-unknown-netbsdelf4.99.52-ar... ar
checking for i386-unknown-netbsdelf4.99.52-ranlib... no
checking for ranlib... ranlib
checking for i386-unknown-netbsdelf4.99.52-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... no
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for cos in -lm... yes
checking for working alloca.h... no
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking for alarm... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for obstack_vprintf... no
checking for popen... yes
checking for processor_info... no
checking for read_real_time... no
checking for strchr... yes
checking for strnlen... no
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... yes
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section... .section .rodata
checking if the export directive needs an attribute...
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking what prefix to use for a local label... .L
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking if the assembler takes cl with shldl... yes
creating config.m4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating demos/expr/expr-impl.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpn/x86/udiv.asm to mpn/udiv.asm
config.status: linking ./mpn/x86/umul.asm to mpn/umul.asm
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/x86/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/addmul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/x86/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/x86/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/x86/dive_1.asm to mpn/dive_1.asm
config.status: linking ./mpn/x86/diveby3.asm to mpn/diveby3.asm
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/x86/divrem_1.asm to mpn/divrem_1.asm
config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/x86/mod_1.asm to mpn/mod_1.asm
config.status: linking ./mpn/x86/mod_34lsub1.asm to mpn/mod_34lsub1.asm
config.status: linking ./mpn/generic/mode1o.c to mpn/mode1o.c
config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/x86/mul_basecase.asm to mpn/mul_basecase.asm
config.status: linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/generic/popcount.c to mpn/popcount.c
config.status: linking ./mpn/generic/hamdist.c to mpn/hamdist.c
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/x86/copyi.asm to mpn/copyi.asm
config.status: linking ./mpn/x86/copyd.asm to mpn/copyd.asm
config.status: linking ./mpn/x86/gmp-mparam.h to gmp-mparam.h
config.status: executing default-1 commands
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking for leading underscore in object symbols... no
checking for GNU ld option -Map... yes
checking for size of gmp limbs... 4
checking _SHORT_LIMB... no
checking _LONG_LONG_LIMB... no
checking for X... libraries /usr/pkg/lib, headers /usr/pkg/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
-I/usr/pkg/include
-L/usr/pkg/lib

-lSM -lICE
checking for main in -lXmu... yes
checking for main in -lXt... yes
checking for main in -lXext... yes
checking for main in -lXaw... no
checking for main in -lX11... yes
missing x libraries -- cannot compile xgcl
checking for bfd.h... no
checking for useable bfd_boolean... no
Guessing path to libbfd.a due to gcc bug
Guessing path to libiberty.a due to gcc bug
checking size of long... 4
checking sizeof struct contblock... 8
checking for endian.h... no
checking for sbrk... yes
checking for randomized sbrk... no
checking finding DBEGIN... got 0xbb000000
checking finding CSTACK_ADDRESS... got -1077941412
checking sizeof long long int... yes
checking for pagewidth... 12
checking for getcwd... yes
checking for getwd... yes
checking for uname... yes
checking for gettimeofday... yes
checking for sys/ioctl.h... yes
checking for elf.h... yes
checking for elf_abi.h... no
checking for BSDgettimeofday... no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking for sin in -lm... yes
checking for main in -lmingwex... no
checking for math.h... yes
checking for values.h... no
checking for float.h... yes
checking for isnormal... yes
checking for isfinite... yes
checking for sockets... checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for readline/readline.h... yes
checking for main in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking For network code for nsocket.c... yes
checking check for listen using fcntl... yes
checking for profil... yes
checking for setenv... yes
checking for _cleanup... yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking check for SV_ONSTACK... no
checking check for SIGSYS... yes
checking check for SIGEMT... yes
checking for asm/sigcontext.h... no
checking for asm/signal.h... no
checking for sigcontext...... sigcontext NOT in signal.h
checking for sigcontext...... no sigcontext found
checking for emacs... /usr/pkg/bin/emacs
checking emacs site lisp directory... /usr/pkg/share/emacs/22.1/site-lisp
checking emacs default.el... /usr/pkg/share/emacs/22.1/site-lisp/default.el
checking emacs info/dir... /usr/share/info/
checking for tcl/tk... checking for tclsh... tclsh
checking for main in -llieee... no
using TK_VERSION=8.4 in /usr/pkg/lib
checking alloca... yes
checking Checking for buggy gcc version from redhat... no
updating cache ./config.cache
creating ./config.status
creating makedefc
creating windows/gcl.iss
creating windows/sysdir.bat
creating windows/install.lsp
creating h/gclincl.h
makedefc

# begin makedefs

# use=NetBSD

# for main link of raw_gcl
LIBS=    -lm  /usr/lib/libbfd.a /usr/lib/libiberty.a

#The multi precision library stuff
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a


# root for the installation, eg /usr/local
# This would cause make install to create /usr/local/bin/gcl and
# /usr/local/lib/gcl-2-??/* with some basic files.
prefix=/home/asau/local/gcl

# where to place the info files
INFO_DIR=/usr/share/info/

# where to put emacs lisp files.
EMACS_SITE_LISP=/usr/pkg/share/emacs/22.1/site-lisp

# the default.el file
EMACS_DEFAULT_EL=/usr/pkg/share/emacs/22.1/site-lisp/default.el

# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
# if these are found.
TK_CONFIG_PREFIX=/usr/pkg/lib
TK_LIBRARY=/usr/pkg/lib/tk8.4
TCL_LIBRARY=/usr/pkg/lib/tcl8.4
TK_XINCLUDES=-I/usr/X11R6/include
TK_INCLUDE=-I/usr/pkg/lib/../include
TCL_INCLUDE=-I/usr/pkg/lib/../include
TK_LIB_SPEC=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ltk84
TK_BUILD_LIB_SPEC=libtk84.la
TK_XLIBSW=-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lX11
TK_XINCLUDES=-I/usr/X11R6/include
TCL_LIB_SPEC=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84${TCL_DBGX}
TCL_DL_LIBS=
TCL_LIBS=-lpthread -lm

NOTIFY=yes
CC=gcc
CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I$(GCLDIR)/o
FINAL_CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe
NIFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe   -I$(GCLDIR)/o
O3FLAGS=-O3 -fomit-frame-pointer
O2FLAGS=-O

RL_OBJS=

RL_LIB=

MAKEINFO=makeinfo

FLISP=saved_gcl
SYSTEM=gcl
BUILD_BFD=
GMPDIR=gmp3
X_LIBS=
X_CFLAGS=

PROCESSOR_FLAGS=

EXTRA_LOBJS=
LEADING_UNDERSCORE=
GNU_LD=1
add-defs1 NetBSD
using NetBSD.defs
$ gmake
(cd o && gmake ../h/new_decl.h)
gmake[1]: Entering directory `/home/asau/lisp/var/gcl-2.6.7/o'
gcc -m486 -fwritable-strings -DVOL=volatile -I./h -I./o -fsigned-char  -o grab_defs  grab_defs.c
cc1: error: unrecognized command line option "-fwritable-strings"
gmake[1]: *** [grab_defs] Error 1
gmake[1]: Leaving directory `/home/asau/lisp/var/gcl-2.6.7/o'
gmake: *** [h/new_decl.h] Error 2



$ CC=/usr/pkg/gcc3/bin/cc ./configure --prefix=${HOME}/local/gcl --enable-machine=NetBSD
loading cache ./config.cache
checking host system type... i386-unknown-netbsdelf4.99.52
host=i386-unknown-netbsdelf4.99.52
enable_machine=NetBSD
use=NetBSD
checking for gcc... (cached) gcc
checking whether the C compiler (gcc    ) works... yes
checking whether the C compiler (gcc    ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) gawk
checking system version (for dynamic loading)... checking for makeinfo... (cached) makeinfo
NetBSD-4.99.52
checking for unistd.h... (cached) yes
checking for sysconf in -lc... (cached) yes
checking for _SC_CLK_TCK... 100
checking for gmp.h... (cached) no
Cannot use dynamic gmp lib
checking use_gmp=yes, doing configure in gmp directory...
#
#
# -------------------
# Subconfigure of GMP
#
#
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... pentium3-unknown-netbsdelf4.99.52
checking host system type... i386-unknown-netbsdelf4.99.52
checking for a BSD-compatible install... /home/asau/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
checking compiler gcc -g -O2 -fomit-frame-pointer  -march=i486... yes
checking compiler gcc -g -O2 -fomit-frame-pointer -march=i486  -march=i386... yes
checking for i386-unknown-netbsdelf4.99.52-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
using ABI="standard"
      CC="gcc"
      CFLAGS="-g -O2 -fomit-frame-pointer -march=i486 -march=i386"
      CPPFLAGS=""
checking for gcc option to accept ANSI C... none needed
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for function prototypes... yes
checking for i386-unknown-netbsdelf4.99.52-ar... no
checking for ar... ar
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/pkg/bin/gsed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-unknown-netbsdelf4.99.52-g77... no
checking for i386-unknown-netbsdelf4.99.52-f77... no
checking for i386-unknown-netbsdelf4.99.52-xlf... no
checking for i386-unknown-netbsdelf4.99.52-frt... no
checking for i386-unknown-netbsdelf4.99.52-pgf77... no
checking for i386-unknown-netbsdelf4.99.52-fort77... no
checking for i386-unknown-netbsdelf4.99.52-fl32... no
checking for i386-unknown-netbsdelf4.99.52-af77... no
checking for i386-unknown-netbsdelf4.99.52-f90... no
checking for i386-unknown-netbsdelf4.99.52-xlf90... no
checking for i386-unknown-netbsdelf4.99.52-pgf90... no
checking for i386-unknown-netbsdelf4.99.52-epcf90... no
checking for i386-unknown-netbsdelf4.99.52-f95... no
checking for i386-unknown-netbsdelf4.99.52-fort... no
checking for i386-unknown-netbsdelf4.99.52-xlf95... no
checking for i386-unknown-netbsdelf4.99.52-ifc... no
checking for i386-unknown-netbsdelf4.99.52-efc... no
checking for i386-unknown-netbsdelf4.99.52-pgf95... no
checking for i386-unknown-netbsdelf4.99.52-lf95... no
checking for i386-unknown-netbsdelf4.99.52-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i386-unknown-netbsdelf4.99.52-ar... ar
checking for i386-unknown-netbsdelf4.99.52-ranlib... no
checking for ranlib... ranlib
checking for i386-unknown-netbsdelf4.99.52-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... no
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for cos in -lm... yes
checking for working alloca.h... no
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking for alarm... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for obstack_vprintf... no
checking for popen... yes
checking for processor_info... no
checking for read_real_time... no
checking for strchr... yes
checking for strnlen... no
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... yes
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section... .section .rodata
checking if the export directive needs an attribute...
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking what prefix to use for a local label... .L
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking if the assembler takes cl with shldl... yes
creating config.m4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating demos/expr/expr-impl.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpn/x86/udiv.asm to mpn/udiv.asm
config.status: linking ./mpn/x86/umul.asm to mpn/umul.asm
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/x86/aors_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/x86/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/addmul_1.asm
config.status: linking ./mpn/x86/aorsmul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/x86/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/x86/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/x86/dive_1.asm to mpn/dive_1.asm
config.status: linking ./mpn/x86/diveby3.asm to mpn/diveby3.asm
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/x86/divrem_1.asm to mpn/divrem_1.asm
config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/x86/mod_1.asm to mpn/mod_1.asm
config.status: linking ./mpn/x86/mod_34lsub1.asm to mpn/mod_34lsub1.asm
config.status: linking ./mpn/generic/mode1o.c to mpn/mode1o.c
config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/x86/mul_basecase.asm to mpn/mul_basecase.asm
config.status: linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/generic/popcount.c to mpn/popcount.c
config.status: linking ./mpn/generic/hamdist.c to mpn/hamdist.c
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/x86/copyi.asm to mpn/copyi.asm
config.status: linking ./mpn/x86/copyd.asm to mpn/copyd.asm
config.status: linking ./mpn/x86/gmp-mparam.h to gmp-mparam.h
config.status: executing default-1 commands
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking for leading underscore in object symbols... no
checking for GNU ld option -Map... yes
checking for size of gmp limbs... 4
checking _SHORT_LIMB... no
checking _LONG_LONG_LIMB... no
checking for X... (cached) libraries /usr/pkg/lib, headers /usr/pkg/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
-I/usr/pkg/include
-L/usr/pkg/lib

-lSM -lICE
checking for main in -lXmu... (cached) yes
checking for main in -lXt... (cached) yes
checking for main in -lXext... (cached) yes
checking for main in -lXaw... (cached) no
checking for main in -lX11... (cached) yes
missing x libraries -- cannot compile xgcl
checking for bfd.h... (cached) no
checking for useable bfd_boolean... no
Guessing path to libbfd.a due to gcc bug
Guessing path to libiberty.a due to gcc bug
checking size of long... (cached) 4
checking sizeof struct contblock... 8
checking for endian.h... (cached) no
checking for sbrk... yes
checking for randomized sbrk... no
checking finding DBEGIN... got 0xbb000000
checking finding CSTACK_ADDRESS... got -1077941428
checking sizeof long long int... yes
checking for pagewidth... 12
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for uname... (cached) yes
checking for gettimeofday... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for elf.h... (cached) yes
checking for elf_abi.h... (cached) no
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking for sin in -lm... (cached) yes
checking for main in -lmingwex... (cached) no
checking for math.h... (cached) yes
checking for values.h... (cached) no
checking for float.h... (cached) yes
checking for isnormal... yes
checking for isfinite... yes
checking for sockets... checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for readline/readline.h... (cached) yes
checking for main in -lreadline... (cached) no
checking for rl_completion_matches in -lreadline... (cached) no
checking For network code for nsocket.c... yes
checking check for listen using fcntl... yes
checking for profil... (cached) yes
checking for setenv... (cached) yes
checking for _cleanup... (cached) yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking check for SV_ONSTACK... no
checking check for SIGSYS... yes
checking check for SIGEMT... yes
checking for asm/sigcontext.h... (cached) no
checking for asm/signal.h... (cached) no
checking for sigcontext...... sigcontext NOT in signal.h
checking for sigcontext...... no sigcontext found
checking for emacs... (cached) /usr/pkg/bin/emacs
checking emacs site lisp directory... /usr/pkg/share/emacs/22.1/site-lisp
checking emacs default.el... /usr/pkg/share/emacs/22.1/site-lisp/default.el
checking emacs info/dir... /usr/share/info/
checking for tcl/tk... checking for tclsh... (cached) tclsh
checking for main in -llieee... (cached) no
using TK_VERSION=8.4 in /usr/pkg/lib
checking alloca... yes
checking Checking for buggy gcc version from redhat... no
creating ./config.status
creating makedefc
creating windows/gcl.iss
creating windows/sysdir.bat
creating windows/install.lsp
creating h/gclincl.h
makedefc

# begin makedefs

# use=NetBSD

# for main link of raw_gcl
LIBS=    -lm  /usr/lib/libbfd.a /usr/lib/libiberty.a

#The multi precision library stuff
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a


# root for the installation, eg /usr/local
# This would cause make install to create /usr/local/bin/gcl and
# /usr/local/lib/gcl-2-??/* with some basic files.
prefix=/home/asau/local/gcl

# where to place the info files
INFO_DIR=/usr/share/info/

# where to put emacs lisp files.
EMACS_SITE_LISP=/usr/pkg/share/emacs/22.1/site-lisp

# the default.el file
EMACS_DEFAULT_EL=/usr/pkg/share/emacs/22.1/site-lisp/default.el

# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
# if these are found.
TK_CONFIG_PREFIX=/usr/pkg/lib
TK_LIBRARY=/usr/pkg/lib/tk8.4
TCL_LIBRARY=/usr/pkg/lib/tcl8.4
TK_XINCLUDES=-I/usr/X11R6/include
TK_INCLUDE=-I/usr/pkg/lib/../include
TCL_INCLUDE=-I/usr/pkg/lib/../include
TK_LIB_SPEC=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ltk84
TK_BUILD_LIB_SPEC=libtk84.la
TK_XLIBSW=-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lX11
TK_XINCLUDES=-I/usr/X11R6/include
TCL_LIB_SPEC=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84${TCL_DBGX}
TCL_DL_LIBS=
TCL_LIBS=-lpthread -lm

NOTIFY=yes
CC=gcc
CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I$(GCLDIR)/o
FINAL_CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe
NIFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe   -I$(GCLDIR)/o
O3FLAGS=-O3 -fomit-frame-pointer
O2FLAGS=-O

RL_OBJS=

RL_LIB=

MAKEINFO=makeinfo

FLISP=saved_gcl
SYSTEM=gcl
BUILD_BFD=
GMPDIR=gmp3
X_LIBS=
X_CFLAGS=

PROCESSOR_FLAGS=

EXTRA_LOBJS=
LEADING_UNDERSCORE=
GNU_LD=1
add-defs1 NetBSD
using NetBSD.defs
$ gmake
(cd o && gmake ../h/new_decl.h)
gmake[1]: Entering directory `/home/asau/lisp/var/gcl-2.6.7/o'
gcc -m486 -fwritable-strings -DVOL=volatile -I./h -I./o -fsigned-char  -o grab_defs  grab_defs.c
cc1: error: unrecognized command line option "-fwritable-strings"
gmake[1]: *** [grab_defs] Error 1
gmake[1]: Leaving directory `/home/asau/lisp/var/gcl-2.6.7/o'
gmake: *** [h/new_decl.h] Error 2


--
CKOPO BECHA...
   CKOPO CE3OH...



_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Building Win32 installers

by Donald Winiecki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Camm,

The list has been pretty quiet lately and you're probably head down
with many things, but I wonder if the following got through to you.  

_don

>>> Donald Winiecki 1/16/2008 10:06 PM >>>
I think this is what you require for the key.  I'm not sure if you
require the hex 'Key fingerprint' for this.  

Please let me know if I've goofed here or given too much, and should
remake the key.

_don

pub   1024D/D6201C7B 2008-01-16      
uid   Donald J. Winiecki <dwiniecki@...>
sub   1024g/EC365C7B 2008-01-16

-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.7 (MingW32)
mQGiBEeNi0oRBAC+iigkLkfArCyBhgJtExt3/iov4od5X6sQm26SHIAod6lgM55Q
pGh9exmtioUyemUE/AGatl/aMIgucf3W0+bn6KFyNlym+zBh/uigmmGpSh2kTgHB
UW91Gh8EYIdGP7tZsxzec7ZzAKm8/XOE7uaFprruhO12tUXTp3oA4RkxUwCg5xHa
PjF/D9AkKjAlTSDBc8IrQ4MEAJj4E7xorHiHTgakhkxVMqfI6+ATTZJCwy6ADL9h
9CYNSlQpSped4RPwa7s/g4R5j3a1gzq3CJeaELcFFzOR9R75mq47IDCbS3FeTfRf
w49oZWf08ieLFs3ePedcRBxkOwJAnq0hhdTDKIoCIzBYEyASdjtkNdyhNriUkqb0
19E9A/986Hhn7UgKeddHwLtAGKLJWZuoVgB6Iinr/bIZw3q1zrVggq94C5RZFIg/
3ZS//pvySw4Dtrur3c5d60WtGJuiY17akK2rNksbsRFsFgObMUTf6BuIeufiByh0
/1Ob8Wq39IJnfXGX96a8k2g1Evwu44SYWSX+1pBRTo6LMwYXQbQtRG9uYWxkIEou
IFdpbmllY2tpIDxkd2luaWVja2lAYm9pc2VzdGF0ZS5lZHU+iGAEExECACAFAkeN
i0oCGyMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRBHGAkc1iAce1vrAJsGVhNL
ewxWlUnQ8rDZXs/e7y0imwCgzG44P2lkOoXUQwBMrPJsUepdU3O5AQ0ER42LShAE
ALPPzUv5mqecI33lbRrGnSDUQqaLViO52YI6u2MNOWtMmb+A8MBOgk1iW369skXH
81vglUAmp4JfyS5VdPfeIazUp3Cr4JFNr1BrriiFiigKrgIqamcpNbd9hy4ZSPoX
K7G9MwbtK7zL5w2KJAVTdHmnWuBd7HMNj0S1TUpeoBGnAAMFA/9sql7pA57+x8YV
eanz4EixOsZBex2a9ke7H1QHIYyEhOxX7orRgYfOYgqcN65CFQOgqRwROfUApMXx
X7ax2K3T83jPGxIXOk4XOhm3949Yr6eowGyf3B9p8+g8YtZG2nn1DMxneo5Cz+rO
D1D3b7WF+PWDqEaAsJvjbFwLSUDNfYhJBBgRAgAJBQJHjYtKAhsMAAoJEEcYCRzW
IBx7pQQAoJE+shXGXw9AQgknfeD0MBpbIcH+AKDZbtezNHpwLuSdrp8Uv27TmfPm Iw==
=HFgc -----END PGP PUBLIC KEY BLOCK-----

>>> Camm Maguire <camm@...> 1/15/2008 10:52:39 AM >>>
Greetings, and thank you so much for this!

The files are being uploaded now.

I will try to post your instructions on the website, as well as
include them (or update them as the case may be) in the sources.
I will also try to update the webiste to announce the new binaries.

As for ftp upload access, I need your

gpg --export -a your_key_id >mykey.asc

for your preferred gpg key.  It might also be helpful if you would
like to register as a user at savannah, and send me your user id so I
can add you as a developer.  After I email your key to the gnu
authorities, you should be able to upload following the procedures at

http://www.gnu.org/prep/maintain/maintain.html#Automated-Upload-Procedure


Thanks so much again!

Take care,

"Donald Winiecki" <DWINIECKI@...> writes:

> Camm,
>
>  
>
> Sorry for the lag on this.  I don't have access to an anonymous FTP
at which you could get the two Win32 installers.  However, I have
posted
> the files on my http:// site.  You can download them from the
following URLs or just wait until I can get FTP access to the GCL
repository and
> post them myself.
>
>  
>
>
http://coen.boisestate.edu/dwiniecki/GCL/gcl_2.6.7.mingw32_ansi_japi_20080106.exe

>
>  
>
>
http://coen.boisestate.edu/dwiniecki/GCL/gcl_2.6.7.mingw32_cltl1_japi_20080106.exe

>
> Best,
>
>  
>
> _don
>
> >>> Camm Maguire <camm@...> 1/11/2008 5:11:48 PM >>>
>
> Greetings!
> "Donald Winiecki" <DWINIECKI@...> writes:
> > Camm,
> >
> >  
> >
> > Glad to say that with some aid from Mike Thomas, I've got working
Windows installers for both CLtL1 and ANSI variants of 2.6.7.  What
would
> be
> > the preferred way of getting them on the FTP site?
> >
> >  
> >
> > I'll be writing up the process and can share the scripts used to
create the installers, but will be glad to continue with this task--the
> least
> > I can do for the community.
> >
> >  
> Thank you so very much!  I cannot tell you what a service this is.
> I'll attempt to get you ftp upload priveleges to the GNU site next
> week.  Until then, perhaps you can point me to the location, and
I'll

> see if I can remember the necessary incantations for the copy :-).
> Could you try Version 2.6.8pre?
> Take care,
> >
> > Best,
> >
> >  
> >
> > _don
> >
> >  
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > Don Winiecki, Ed.D., Ph.D., Associate Professor
> > Boise State University, College of Engineering
> > Department of Instructional & Performance Technology
> > 1910 University Drive, Boise, Idaho 83725-2070 USA
> > E-mail: dwiniecki@...
> > WWW: http://ipt.boisestate.edu 
> > Telephone: (+01) 208 426 1899
> > Fax: (+01) 208 426 1970
> > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > >>> Camm Maguire <camm@...> 1/3/2008 4:29:21 PM >>>
> >
> > Greetings!  Thank you SO much for your help here!
> > "Donald Winiecki" <DWINIECKI@...> writes:
> > > I've got the CLTL1 and ANSI variants compiled now--most of the
MinGW and MSYS files recommended by Mike Thomas' are the (still) the
right
> > ones
> > > (I tested the most recent versions of those files and then
backtracked through each prior version and combination of files to
discover
> > this).
> > >
> > Great!
> > >  
> > >
> > > However, I am yet to get the embedded DOS batch file to run and
make a desktop icon for the executable, and I still have to put together
a
> > > real Windows-installation package.
> > >
> > >  
> > >
> > > I suspect these last two things will take a bit longer.  Since
there doesn't seem to be much demand for Windows' files, I won't have it
on
> > the
> > > top of my things to do, but hope to get it done, and new 'how to'
files prepared in the next few weeks.
> > >
> > >  
> > While I agree there is no terrible rush, any effort you could
> > contribute here would be very greatly appreciated, especially
getting
> > a downloadable installation package put together.  The reason I
say
> > especially is that this is the one aspect of GCL concerning which
I
> > have the least knowledge, and of course that Windows users are not
> > accustomed to building software themselves.  Perhaps I can
> > learn/assist along with you the basics of windows installers :-).
> > I have remote access to a mingw box, but have not explored it yet.
> > I've been uploading gclcvs packages to Debian of late to try to
get
> > cvs HEAD in shape for release.  While this is looking quite good,
> > there is still more work to be done.  After this, I would greatly
> > appreciate user feedback and experience using this branch, esp. on
> > different platforms, including Windows.
> > 2.6.8pre by contrast is nearer at hand.  I do think we will need a
> > windows installer for this release.  I'd also like a working mac
intel
> > port.  Otherwise, the image (packaged as Debian gcl-2.6.7-36) is
> > carrying axiom, maxima, acl2, and hol88 to all 12 Debian
platforms.
> > I'll be uploading a new maxima and axiom to the autobuilders soon
for
> > a double check.  Perhaps will get to a Debian nqthm package too,
but
> > not sure.
> > >
> > > Thanks to Camm and Gaby for their help on these things.  (Don't
know were Camm is, but I'll bet the weather is somewhat nicer in
College
> > > Station, TX than it is up here in Boise, and I know for sure
that
> > > it's very warm and dry in Brissy!  Hope that you're all keeping
warm

> > > through
> > My apologies -- the holidays imposed a brief hiatus.
> > Take care,
> > > these early-winter greys...)
> > >
> > >  
> > >
> > > Best,
> > >
> > >  
> > >
> > >  
> > >
> > > _don
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Don Winiecki, Ed.D., Ph.D., Associate Professor
> > > Boise State University, College of Engineering
> > > Department of Instructional & Performance Technology
> > > 1910 University Drive, Boise, Idaho 83725-2070 USA
> > > E-mail: dwiniecki@...
> > > WWW: http://ipt.boisestate.edu 
> > > Telephone: (+01) 208 426 1899
> > > Fax: (+01) 208 426 1970
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > > _______________________________________________
> > > Gcl-devel mailing list
> > > Gcl-devel@...
> > > http://lists.gnu.org/mailman/listinfo/gcl-devel 
> > --
> > Camm Maguire                             camm@...
> >
==========================================================================
> > "The earth is but one country, and mankind its citizens."  --
Baha'u'llah
> --
> Camm Maguire                             camm@...
>
==========================================================================
> "The earth is but one country, and mankind its citizens."  --
Baha'u'llah
> _______________________________________________
> Gcl-devel mailing list
> Gcl-devel@...
> http://lists.gnu.org/mailman/listinfo/gcl-devel 

--
Camm Maguire    
                        camm@...
==========================================================================
"The earth is but one country, and mankind its citizens."  --
Baha'u'llah



_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel
LightInTheBox - Buy quality products at wholesale price!