Cross-compiling Kaffe!

Oscar Martinez de la Torre omt at wm.estec.esa.nl
Mon Aug 16 01:19:04 PDT 1999


Hi!

        I'm a Young Graduate Trainee at European Space Agency.
        I would like to probe that using Java on satellites
        could be a good idea.

        So, I have chosen Embedded Java and Kaffe as a solution.

        I have compiled normal (no crosscompilation) 
	Kaffe 1.04b1 in UltraSparc with gcc 2.8.1
        I failed in a normal sparc... I suppose because the gcc version
        is too old 2.7.2

        However, ESA uses a simulation enviroment for space version of
        SPARC microprocessor ERC32. I'm using Solaris 2.x in Sparc
machines
	with gcc 2.8.1

        I have a C/C++ compilation System: GCC-ERC32 2.8.1 from XGC
        which looks like this:

erc-elf-addr2line*  erc-elf-g++*        erc-elf-nm*      erc-elf-sis*
erc-elf-ar*         erc-elf-gasp*       erc-elf-objcopy* erc-elf-size*
erc-elf-as*         erc-elf-gcc*        erc-elf-objdump*
erc-elf-strings*
erc-elf-c++*        erc-elf-gdb*        erc-elf-ranlib*  erc-elf-strip*
erc-elf-c++filt*    erc-elf-ld*         erc-elf-run*

        I tried to following the instructions of Kaffe Web Pages
        and I have read autoconf manuals and gone through configure.in
        file. I also have searched through email archive.

        I have set the following variables:

setenv CC       /opt/xgc/bin/erc-elf-gcc
setenv NM       /opt/xgc/bin/erc-elf-nm
setenv LD       /opt/xgc/bin/erc-elf-ld
setenv AR       /opt/xgc/bin/erc-elf-ar
setenv AS       /opt/xgc/bin/erc-elf-as
setenv RANLIB   /opt/xgc/bin/erc-elf-ranlib
setenv CPP      /opt/xgc/bin/erc-elf-c++
setenv ac_cv_sizeof_short 2
setenv ac_cv_sizeof_int 4
setenv ac_cv_sizeof_long 4
setenv ac_cv_sizeof_long_long 8
setenv ac_cv_sizeof___int64 0
setenv ac_cv_sizeof_voidp 4
setenv ac_cv_c_bigendian yes
setenv ac_cv_c_char_unsigned yes
setenv path_separator :
setenv file_separator /

        I got the following messages:


gmake[1]: Entering directory `/usr/local/src/kaffe-cross/include'
gmake[1]: Leaving directory `/usr/local/src/kaffe-cross/include'
Making all in libltdl
gmake[1]: Entering directory `/usr/local/src/kaffe-cross/libltdl'
/bin/sh ./libtool --mode=compile /opt/xgc/bin/erc-elf-gcc
-DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c ltdl.c
/opt/xgc/bin/erc-elf-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o
ltdl.o
ltdl.c: In function `find_file':
ltdl.c:1012: warning: assignment makes pointer from integer without a
cast
ltdl.c:1042: `FILE' undeclared (first use in this function)
ltdl.c:1042: (Each undeclared identifier is reported only once
ltdl.c:1042: for each function it appears in.)
ltdl.c:1042: `file' undeclared (first use in this function)
ltdl.c: In function `trim':
ltdl.c:1092: warning: initialization makes pointer from integer without
a cast
ltdl.c: In function `lt_dlopen':
ltdl.c:1160: warning: assignment makes pointer from integer without a
cast
ltdl.c:1173: warning: assignment makes pointer from integer without a
cast
ltdl.c:1176: `FILE' undeclared (first use in this function)
ltdl.c:1176: `file' undeclared (first use in this function)
ltdl.c:1177: parse error before `int'
ltdl.c:1196: `i' undeclared (first use in this function)
ltdl.c:1208: parse error before `)'
ltdl.c:1212: parse error before `)'
ltdl.c:1217: parse error before `)'
ltdl.c:1229: `line' undeclared (first use in this function)
ltdl.c:1245: `error' undeclared (first use in this function)
ltdl.c:1245: `dlname' undeclared (first use in this function)
ltdl.c:1252: `old_name' undeclared (first use in this function)
ltdl.c:1259: `libdir' undeclared (first use in this function)
ltdl.c:1266: `deplibs' undeclared (first use in this function)
ltdl.c:1270: `installed' undeclared (first use in this function)
gmake[1]: *** [ltdl.lo] Error 1
gmake[1]: Leaving directory `/usr/local/src/kaffe-cross/libltdl'
gmake: *** [all-recursive] Error 1

        I suppose it could be the lack of librarys for files in
        ERC32 (a microprocessor). I only can execute a file, I think!

        Any general help will also welcome, because it's the first
        time I try to crosscompile anything!

Best regards,
                                                                Oscar


PD:	I attach configure.log, configure.output, enviroment settings
	and Kaffe settings.

-- 
Óscar Martínez de la Torre
Telecommunication Engineer at Universidad Politécnica de Madrid 
European Space Agency YGT-Staff ESTEC/TOS/EMS Eramus Building Office
Nb212 
Keplerlaan,1 - NL 2201 AZ - Noordwijk ZH - The Netherlands
Office Phone: +31-(0)71.565.5844 - GSM Phone: +34-656.906411
ESA Web: www.estec.esa.nl - Personal Web: www.etsit.upm.es/~omt
eMail: omt at wm.estec.esa.nl - omt at etsit.upm.es


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

CONFIGURE log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:592: checking for a BSD compatible install
configure:645: checking whether build environment is sane
configure:702: checking whether make sets ${MAKE}
configure:749: checking for working aclocal
configure:762: checking for working autoconf
configure:775: checking for working automake
configure:788: checking for working autoheader
configure:801: checking for working makeinfo
configure:818: checking for gnutar
configure:857: checking whether to enable maintainer-specific portions
of Makefiles
configure:907: checking for gcc
configure:1020: checking whether the C compiler
(/opt/xgc/bin/erc-elf-gcc  ) works
configure:1036: /opt/xgc/bin/erc-elf-gcc -o conftest    conftest.c  1>&5
configure:1062: checking whether the C compiler
(/opt/xgc/bin/erc-elf-gcc  ) is a cross-compiler
configure:1067: checking whether we are using GNU C
configure:1095: checking whether /opt/xgc/bin/erc-elf-gcc accepts -g
configure:1138: checking host system type
configure:1159: checking for Cygwin environment
configure:1192: checking for mingw32 environment
configure:1223: checking for executable suffix
configure:1377: checking build system type
configure:1397: checking for ranlib
configure:1436: checking for ld used by GCC
configure:1499: checking if the linker (/opt/xgc/bin/erc-elf-ld) is GNU
ld
configure:1515: checking for BSD-compatible nm
configure:1552: checking whether ln -s works
ltconfig:591: checking for object suffix
ltconfig:592: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes  conftest.c 1>&5
ltconfig:722: checking if /opt/xgc/bin/erc-elf-gcc PIC flag -fPIC works
ltconfig:723: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes -fPIC -DPIC  conftest.c 1>&5
/opt/xgc/erc-elf/bin/as: unrecognized option `-k'
ltconfig:765: checking if /opt/xgc/bin/erc-elf-gcc supports -c -o file.o
ltconfig:766: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes -c -o conftest2.o  conftest.c 1>&5
ltconfig:793: checking if /opt/xgc/bin/erc-elf-gcc supports -c -o
file.lo
ltconfig:794: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes -c -o conftest.lo  conftest.c 1>&5
ltconfig:845: checking if /opt/xgc/bin/erc-elf-gcc supports -fno-rtti
-fno-exceptions
ltconfig:846: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes -fno-rtti -fno-exceptions -c conftest.c  conftest.c
1>&5
ltconfig:889: checking if /opt/xgc/bin/erc-elf-gcc static flag -static
works
ltconfig:890: /opt/xgc/bin/erc-elf-gcc -o conftest -g -O2 -Wall
-Wstrict-prototypes   -static conftest.c  1>&5
conftest.c:1: warning: return-type defaults to `int'
conftest.c:1: warning: function declaration isn't a prototype
GNU ld version 2.8.1 (with BFD 2.8.1)
ltconfig:1460: checking if global_symbol_pipe works
ltconfig:1461: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes  conftest.c 1>&5
conftest.c:5: warning: function declaration isn't a prototype
conftest.c:9: warning: return-type defaults to `int'
conftest.c:9: warning: function declaration isn't a prototype
ltconfig:1464: eval "/opt/xgc/bin/erc-elf-nm conftest.o | sed -n -e
's/^.*[     ]\([BDT]\)[     ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2\3 \3/p' > conftest.nm"
cannot find nm_test_var in conftest.nm
ltconfig:1460: checking if global_symbol_pipe works
ltconfig:1461: /opt/xgc/bin/erc-elf-gcc -c -g -O2 -Wall
-Wstrict-prototypes  conftest.c 1>&5
conftest.c:5: warning: function declaration isn't a prototype
conftest.c:9: warning: return-type defaults to `int'
conftest.c:9: warning: function declaration isn't a prototype
ltconfig:1464: eval "/opt/xgc/bin/erc-elf-nm conftest.o | sed -n -e
's/^.*[     ]\([BDT]\)[     ][     
]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
cannot run sed -n -e 's/^.*[    ]\([BDT]\)[     ][     
]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'
configure:1893: checking for _ prefix in compiled symbols
configure:2016: checking execution engine
configure:2036: checking for getpagesize
configure:2110: checking sun compatibility mode
configure:2133: checking thread system
configure:2149: checking for trampolines
configure:2203: checking for a BSD compatible install
configure:2256: checking whether make sets ${MAKE}
configure:2285: checking for jikes
configure:2314: checking for zip
configure:2374: checking size of short
configure:2413: checking size of int
configure:2452: checking size of long
configure:2491: checking size of long long
configure:2530: checking size of __int64
configure:2569: checking size of void*
configure:2610: checking alignment of void*
configure:2650: checking return type of signal handlers
configure:2692: checking whether signal handlers are one-shot
configure:2743: checking how to run the C preprocessor
configure:2823: checking for ANSI C header files
configure:2927: checking for size_t
configure:2960: checking for ssize_t
configure:3005: checking for _mwvalidcheckl in -lmw
configure:3057: checking for sin in -lm
configure:3170: checking for gethostname
configure:3221: checking for gethostname in -lnsl
configure:3272: checking for gethostbyname
configure:3323: checking for gethostbyname in -lnsl
configure:3374: checking for connect
configure:3425: checking for connect in -lsocket
configure:3480: checking for deflate in -lz
configure:3534: checking for mpz_add in -lgmp
configure:3590: checking for X
configure:3839: checking whether -R must be followed by a space
configure:3849: /opt/xgc/bin/erc-elf-gcc -o conftest -g -O2 -Wall
-Wstrict-prototypes   conftest.c  -R/usr/openwin/lib 1>&5
erc-elf-gcc: unrecognized option `-R/usr/openwin/lib'
configure:3844: warning: function declaration isn't a prototype
configure:3904: checking for dnet_ntoa in -ldnet
configure:3945: checking for dnet_ntoa in -ldnet_stub
configure:3993: checking for gethostbyname
configure:4042: checking for gethostbyname in -lnsl
configure:4091: checking for connect
configure:4140: checking for connect in -lsocket
configure:4183: checking for remove
configure:4232: checking for remove in -lposix
configure:4275: checking for shmat
configure:4324: checking for shmat in -lipc
configure:4376: checking for IceConnectionNumber in -lICE
configure:4425: checking for __T_9__nothrow in -lCsup
configure:4479: checking for XShmQueryExtension in -lXext
configure:4532: checking for jpeg_read_header in -ljpeg
configure:4584: checking for png_create_info_struct in -lpng
configure:4636: checking for DGifOpenFileHandle in -lgif
configure:4688: checking for DGifOpenFileHandle in -lungif
configure:4752: checking for ANSI C header files
configure:4859: checking for fcntl.h
configure:4859: checking for sys/time.h
configure:4859: checking for unistd.h
configure:4859: checking for sys/socket.h
configure:4859: checking for winnt.h
configure:4859: checking for wintypes.h
configure:4859: checking for wtypes.h
configure:4859: checking for winbase.h
configure:4859: checking for windows.h
configure:4859: checking for winsock.h
configure:4859: checking for dlfcn.h
configure:4859: checking for sys/ioctl.h
configure:4859: checking for sys/filio.h
configure:4859: checking for malloc.h
configure:4859: checking for alloca.h
configure:4859: checking for sys/param.h
configure:4859: checking for sys/utsname.h
configure:4859: checking for pwd.h
configure:4859: checking for asm/sigcontext.h
configure:4859: checking for sigcontext.h
configure:4859: checking for asm/signal.h
configure:4859: checking for signal.h
configure:4859: checking for mach-o/rld.h
configure:4859: checking for sys/types.h
configure:4859: checking for sys/stat.h
configure:4859: checking for string.h
configure:4859: checking for sys/select.h
configure:4859: checking for poll.h
configure:4859: checking for sys/poll.h
configure:4859: checking for memory.h
configure:4859: checking for bsd/libc.h
configure:4859: checking for dl.h
configure:4859: checking for features.h
configure:4859: checking for sys/wait.h
configure:4859: checking for zlib.h
configure:4859: checking for netinet/tcp.h
configure:4859: checking for netinet/in_systm.h
configure:4859: checking for netinet/in.h
configure:4859: checking for netdb.h
configure:4859: checking for jpeglib.h
configure:4859: checking for png.h
configure:4859: checking for gmp.h
configure:4859: checking for kernel/OS.h
configure:4900: checking for dirent.h that defines DIR
configure:4900: checking for sys/ndir.h that defines DIR
configure:4900: checking for sys/dir.h that defines DIR
configure:4900: checking for ndir.h that defines DIR
configure:4979: checking for opendir in -lx
configure:5022: checking for gif_lib.h
configure:5063: checking for sys/resource.h
configure:5176: checking whether time.h and sys/time.h may both be
included
configure:5211: checking whether struct tm is in sys/time.h or time.h
configure:5245: checking for tm_zone in struct tm
configure:5278: checking for tzname
configure:5315: checking whether byte ordering is bigendian
configure:5405: checking whether char is unsigned
configure:5468: checking for inline
configure:5574: checking for struct sigcontext
configure:5609: checking for struct sigcontext_struct (without
asm/sigcontext.h)
configure:5636: checking for struct sigcontext_struct (with
asm/sigcontext.h)
configure:5673: checking for strftime
configure:5772: checking for unistd.h
configure:5811: checking for getpagesize
configure:5864: checking for working mmap
configure:6037: checking for select
configure:6037: checking for socket
configure:6037: checking for getsockname
configure:6092: checking for memcpy
configure:6092: checking for memmove
configure:6147: checking for mkdir
configure:6202: checking for getcwd
configure:6202: checking for getwd
configure:6202: checking for gettimeofday
configure:6202: checking for ftime
configure:6202: checking for time
configure:6202: checking for uname
configure:6202: checking for getuid
configure:6260: checking for remainder
configure:6260: checking for remainderf
configure:6260: checking for fmod
configure:6260: checking for fmodf
configure:6260: checking for drem
configure:6260: checking for rint
configure:6260: checking for floor
configure:6260: checking for ceil
configure:6260: checking for finite
configure:6260: checking for isinf
configure:6260: checking for isnan
configure:6260: checking for strtod
configure:6317: checking for strerror
configure:6317: checking for hstrerror
configure:6372: checking for fcntl
configure:6372: checking for ioctl
configure:6427: checking for alarm
configure:6427: checking for setitimer
configure:6482: checking for sigprocmask
configure:6482: checking for sigsetmask
configure:6482: checking for sigemptyset
configure:6482: checking for sigaddset
configure:6482: checking for signal
configure:6482: checking for sigaction
configure:6537: checking for sbrk
configure:6537: checking for valloc
configure:6537: checking for memalign
configure:6537: checking for mallopt
configure:6592: checking for mprotect
configure:6592: checking for madvise
configure:6647: checking for waitpid
configure:6647: checking for kill
configure:6647: checking for fork
configure:6647: checking for execve
configure:6647: checking for execvp
configure:6702: checking for sync
configure:6702: checking for fsync
configure:6757: checking for atexit
configure:6757: checking for on_exit
configure:6757: checking for vsnprintf
configure:6757: checking for snprintf
configure:6812: checking for __throw
configure:6812: checking for __terminate_func
configure:6812: checking for __get_eh_info
configure:6904: checking for declaration of select
configure:7001: checking for kaffeh
configure:7062: checking how to run the C preprocessor
configure:7143: checking for path separator
configure:7160: checking for directory separator


CONFIGURE standard output

loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gnutar... (cached) tar
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... (cached) /opt/xgc/bin/erc-elf-gcc
checking whether the C compiler (/opt/xgc/bin/erc-elf-gcc  ) works...
yes
checking whether the C compiler (/opt/xgc/bin/erc-elf-gcc  ) is a
cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether /opt/xgc/bin/erc-elf-gcc accepts -g... (cached) yes
checking host system type... sparc-sun-solaris2.7
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking build system type... sparc-sun-solaris2.7
checking for ranlib... (cached) /opt/xgc/bin/erc-elf-ranlib
checking for ld used by GCC... (cached) /opt/xgc/bin/erc-elf-ld
checking if the linker (/opt/xgc/bin/erc-elf-ld) is GNU ld... (cached)
yes
checking for BSD-compatible nm... (cached) /opt/xgc/bin/erc-elf-nm
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for /opt/xgc/bin/erc-elf-gcc option to produce PIC... -fPIC
checking if /opt/xgc/bin/erc-elf-gcc PIC flag -fPIC works... no
checking if /opt/xgc/bin/erc-elf-gcc supports -c -o file.o... yes
checking if /opt/xgc/bin/erc-elf-gcc supports -c -o file.lo... yes
checking if /opt/xgc/bin/erc-elf-gcc supports -fno-rtti -fno-exceptions
... yes
checking if /opt/xgc/bin/erc-elf-gcc static flag -static works...
-static
checking if the linker (/opt/xgc/bin/erc-elf-ld) is GNU ld... yes
checking whether the linker (/opt/xgc/bin/erc-elf-ld) supports shared
libraries... yes
checking command to parse /opt/xgc/bin/erc-elf-nm output... failed
checking how to hardcode library paths into programs... immediate
checking for /opt/xgc/bin/erc-elf-ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.7 ld.so
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for _ prefix in compiled symbols... (cached) no
checking execution engine... jit
checking for getpagesize... (cached) no
checking sun compatibility mode... yes
checking thread system... unix-jthreads
checking for trampolines... yes
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
checking for jikes... no
checking for zip... (cached) zip
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of __int64... (cached) 0
checking size of void*... (cached) 4
checking alignment of void*... (cached) 1
checking return type of signal handlers... (cached) void
checking whether signal handlers are one-shot... (cached) cross
checking how to run the C preprocessor... /opt/xgc/bin/erc-elf-c++
checking for ANSI C header files... (cached) no
checking for size_t... (cached) no
checking for ssize_t... (cached) no
checking for _mwvalidcheckl in -lmw... (cached) no
checking for sin in -lm... (cached) yes
checking for gethostname... (cached) no
checking for gethostname in -lnsl... (cached) no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking for connect... (cached) no
checking for connect in -lsocket... (cached) no
checking for deflate in -lz... (cached) no
checking for mpz_add in -lgmp... (cached) no
checking for X... (cached) libraries /usr/openwin/lib, headers
/usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking for connect... (cached) no
checking for connect in -lsocket... (cached) no
checking for remove... (cached) no
checking for remove in -lposix... (cached) no
checking for shmat... (cached) no
checking for shmat in -lipc... (cached) no
checking for IceConnectionNumber in -lICE... (cached) no
checking for __T_9__nothrow in -lCsup... (cached) no
checking for XShmQueryExtension in -lXext... (cached) no
checking for jpeg_read_header in -ljpeg... (cached) no
checking for png_create_info_struct in -lpng... (cached) no
checking for DGifOpenFileHandle in -lgif... (cached) no
checking for DGifOpenFileHandle in -lungif... (cached) no
checking for ANSI C header files... (cached) no
checking for fcntl.h... (cached) no
checking for sys/time.h... (cached) no
checking for unistd.h... (cached) no
checking for sys/socket.h... (cached) no
checking for winnt.h... (cached) no
checking for wintypes.h... (cached) no
checking for wtypes.h... (cached) no
checking for winbase.h... (cached) no
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for dlfcn.h... (cached) no
checking for sys/ioctl.h... (cached) no
checking for sys/filio.h... (cached) no
checking for malloc.h... (cached) no
checking for alloca.h... (cached) no
checking for sys/param.h... (cached) no
checking for sys/utsname.h... (cached) no
checking for pwd.h... (cached) no
checking for asm/sigcontext.h... (cached) no
checking for sigcontext.h... (cached) no
checking for asm/signal.h... (cached) no
checking for signal.h... (cached) no
checking for mach-o/rld.h... (cached) no
checking for sys/types.h... (cached) no
checking for sys/stat.h... (cached) no
checking for string.h... (cached) no
checking for sys/select.h... (cached) no
checking for poll.h... (cached) no
checking for sys/poll.h... (cached) no
checking for memory.h... (cached) no
checking for bsd/libc.h... (cached) no
checking for dl.h... (cached) no
checking for features.h... (cached) no
checking for sys/wait.h... (cached) no
checking for zlib.h... (cached) no
checking for netinet/tcp.h... (cached) no
checking for netinet/in_systm.h... (cached) no
checking for netinet/in.h... (cached) no
checking for netdb.h... (cached) no
checking for jpeglib.h... (cached) no
checking for png.h... (cached) no
checking for gmp.h... (cached) no
checking for kernel/OS.h... (cached) no
checking for dirent.h that defines DIR... (cached) no
checking for sys/ndir.h that defines DIR... (cached) no
checking for sys/dir.h that defines DIR... (cached) no
checking for ndir.h that defines DIR... (cached) no
checking for opendir in -lx... (cached) no
checking for gif_lib.h... (cached) no, not found or bad version
checking for sys/resource.h... (cached) no
checking whether time.h and sys/time.h may both be included... (cached)
yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) no
checking whether byte ordering is bigendian... (cached) yes
checking whether char is unsigned... (cached) no
checking for inline... (cached) inline
checking for struct sigcontext... (cached) no
checking for struct sigcontext_struct (without asm/sigcontext.h)...
(cached) no
checking for struct sigcontext_struct (with asm/sigcontext.h)...
(cached) no
checking for strftime... (cached) yes
checking for unistd.h... (cached) no
checking for getpagesize... (cached) no
checking for working mmap... (cached) no
checking for select... (cached) no
checking for socket... (cached) no
checking for getsockname... (cached) no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for mkdir... (cached) no
checking for getcwd... (cached) no
checking for getwd... (cached) no
checking for gettimeofday... (cached) yes
checking for ftime... (cached) no
checking for time... (cached) yes
checking for uname... (cached) no
checking for getuid... (cached) no
checking for remainder... (cached) no
checking for remainderf... (cached) no
checking for fmod... (cached) yes
checking for fmodf... (cached) no
checking for drem... (cached) no
checking for rint... (cached) no
checking for floor... (cached) yes
checking for ceil... (cached) yes
checking for finite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) no
checking for strtod... (cached) yes
checking for strerror... (cached) yes
checking for hstrerror... (cached) no
checking for fcntl... (cached) no
checking for ioctl... (cached) no
checking for alarm... (cached) no
checking for setitimer... (cached) no
checking for sigprocmask... (cached) no
checking for sigsetmask... (cached) no
checking for sigemptyset... (cached) no
checking for sigaddset... (cached) no
checking for signal... (cached) yes
checking for sigaction... (cached) no
checking for sbrk... (cached) yes
checking for valloc... (cached) no
checking for memalign... (cached) no
checking for mallopt... (cached) no
checking for mprotect... (cached) no
checking for madvise... (cached) no
checking for waitpid... (cached) no
checking for kill... (cached) yes
checking for fork... (cached) no
checking for execve... (cached) no
checking for execvp... (cached) no
checking for sync... (cached) no
checking for fsync... (cached) no
checking for atexit... (cached) yes
checking for on_exit... (cached) no
checking for vsnprintf... (cached) no
checking for snprintf... (cached) no
checking for __throw... (cached) yes
checking for __terminate_func... (cached) yes
checking for __get_eh_info... (cached) no
checking for declaration of select... (cached) no
checking for kaffeh... (cached) /usr/local/bin/kaffeh
checking how to run the C preprocessor... /opt/xgc/bin/erc-elf-c++
checking for path separator... (cached) 
checking for directory separator... (cached) 
creating ./config.status
creating Makefile
creating config/Makefile
creating include/Makefile
creating kaffe/Makefile
creating libraries/Makefile
creating kaffe/kaffevm/Makefile
creating kaffe/kaffevm/intrp/Makefile
creating kaffe/kaffevm/jit/Makefile
creating kaffe/kaffevm/gcj/Makefile
creating kaffe/kaffevm/systems/Makefile
creating kaffe/kaffevm/systems/unix-jthreads/Makefile
creating kaffe/kaffevm/systems/oskit-pthreads/Makefile
creating kaffe/kaffevm/systems/linux-threads/Makefile
creating kaffe/kaffevm/systems/beos-native/Makefile
creating kaffe/kaffe/Makefile
creating kaffe/kaffeh/Makefile
creating kaffe/man/Makefile
creating kaffe/scripts/Makefile
creating kaffe/scripts/bat/Makefile
creating kaffe/scripts/compat/Makefile
creating libraries/javalib/Makefile
creating libraries/clib/Makefile
creating libraries/clib/native/Makefile
creating libraries/clib/io/Makefile
creating libraries/clib/net/Makefile
creating libraries/clib/zip/Makefile
creating libraries/clib/math/Makefile
creating libraries/clib/management/Makefile
creating libraries/clib/awt/Makefile
creating libraries/clib/awt/X/Makefile
creating libraries/extensions/Makefile
creating libraries/extensions/comm/Makefile
creating libraries/extensions/comm/javalib/Makefile
creating libraries/extensions/pjava/Makefile
creating libraries/extensions/pjava/javalib/Makefile
creating libraries/extensions/servlet/Makefile
creating libraries/extensions/servlet/javalib/Makefile
creating kaffe/man/kaffe.1
creating libraries/javalib/rebuildLib
creating kaffe/scripts/install-jar
creating kaffe/scripts/kaffe
creating kaffe/scripts/javac
creating kaffe/scripts/javakey
creating kaffe/scripts/jar
creating kaffe/scripts/javap
creating kaffe/scripts/jdb
creating kaffe/scripts/pizza
creating kaffe/scripts/javadoc
creating kaffe/scripts/pizzadoc
creating kaffe/scripts/appletviewer
creating kaffe/scripts/rmic
creating kaffe/scripts/rmiregistry
creating kaffe/scripts/serialver
creating kaffe/scripts/native2ascii
creating kaffe/scripts/compat/java
creating kaffe/scripts/compat/javac
creating kaffe/scripts/compat/appletviewer
creating kaffe/scripts/compat/javadoc
creating test/Makefile
creating test/regression/Makefile
creating test/regression/TestScript
creating config/config.h
config/config.h is unchanged
creating include/jtypes.h
include/jtypes.h is unchanged
configuring in libltdl
running /bin/sh ./configure  --enable-ltdl-convenience
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... ./../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gnutar... (cached) tar
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... (cached) /opt/xgc/bin/erc-elf-gcc
checking whether the C compiler (/opt/xgc/bin/erc-elf-gcc  ) works...
yes
checking whether the C compiler (/opt/xgc/bin/erc-elf-gcc  ) is a
cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether /opt/xgc/bin/erc-elf-gcc accepts -g... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking host system type... sparc-sun-solaris2.7
checking build system type... sparc-sun-solaris2.7
checking for ranlib... (cached) /opt/xgc/bin/erc-elf-ranlib
checking for ld used by GCC... (cached) /opt/xgc/bin/erc-elf-ld
checking if the linker (/opt/xgc/bin/erc-elf-ld) is GNU ld... (cached)
yes
checking for BSD-compatible nm... (cached) /opt/xgc/bin/erc-elf-nm
checking whether ln -s works... (cached) yes
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for /opt/xgc/bin/erc-elf-gcc option to produce PIC... -fPIC
checking if /opt/xgc/bin/erc-elf-gcc PIC flag -fPIC works... no
checking if /opt/xgc/bin/erc-elf-gcc supports -c -o file.o... yes
checking if /opt/xgc/bin/erc-elf-gcc supports -c -o file.lo... yes
checking if /opt/xgc/bin/erc-elf-gcc supports -fno-rtti -fno-exceptions
... yes
checking if /opt/xgc/bin/erc-elf-gcc static flag -static works...
-static
checking if the linker (/opt/xgc/bin/erc-elf-ld) is GNU ld... yes
checking whether the linker (/opt/xgc/bin/erc-elf-ld) supports shared
libraries... yes
checking command to parse /opt/xgc/bin/erc-elf-nm output... failed
checking how to hardcode library paths into programs... immediate
checking for /opt/xgc/bin/erc-elf-ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.7 ld.so
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking which extension is used for shared libraries... (cached) .so
checking which variable specifies run-time library path... (cached)
LD_LIBRARY_PATH
checking for objdir... (cached) .libs
checking how to run the C preprocessor... /opt/xgc/bin/erc-elf-c++
checking for ANSI C header files... (cached) no
checking for malloc.h... (cached) no
checking for memory.h... (cached) no
checking for stdlib.h... (cached) no
checking for stdio.h... (cached) no
checking for ctype.h... (cached) no
checking for dlfcn.h... (cached) no
checking for dl.h... (cached) no
checking for dld.h... (cached) no
checking for string.h... (cached) no
checking for strings.h... (cached) no
checking for strdup... (cached) no
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for index... (cached) no
checking for rindex... (cached) no
checking whether libtool supports -dlopen/-dlpreopen... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) no
checking for dld_link in -ldld... (cached) no
checking for shl_load... (cached) no
checking command to parse /opt/xgc/bin/erc-elf-nm output... (cached) no
checking for _ prefix in compiled symbols... (cached) no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged


Enviroment settings


AR=/opt/xgc/bin/erc-elf-ar
AS=/opt/xgc/bin/erc-elf-as
BASH=/usr/local/bin/bash
BASH_VERSINFO=([0]="2" [1]="03" [2]="0" [3]="1" [4]="release"
[5]="sparc-sun-solaris2.7")
BASH_VERSION='2.03.0(1)-release'
BIG_ENDIAN=yes
CC=/opt/xgc/bin/erc-elf-gcc
COLUMNS=87
CPP=/opt/xgc/bin/erc-elf-c++
DIRSTACK=()
EUID=1188
EXITONERR=1
GROUP=wms
GROUPS=()
HISTFILE=/users/omt/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/users/omt
HOST=estwme
HOSTNAME=estwme
HOSTTYPE=sparc
HZ=100
IFS='   
'
LC_COLLATE=en_US
LC_CTYPE=en_US
LC_MESSAGES=C
LC_MONETARY=en_US
LC_NUMERIC=en_US
LC_TIME=en_US
LD=/opt/xgc/bin/erc-elf-ld
LD_LIBRARY_PATH=/opt/SUNWspro/lib:/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWspro/lib:/usr/dt/lib
LINES=36
LOGNAME=omt
LOGSCRIPTS=/software/any/LOG_INS/users
MACHTYPE=sparc-sun-solaris2.7
MAIL=/var/mail/omt
MAILCHECK=60
NM=/opt/xgc/bin/erc-elf-nm
OPENWINHOME=/usr/openwin
OPTERR=1
OPTIND=1
OSTYPE=solaris2.7
OS_NAME=SunOS
OS_VERSION=5
PATH=/etc:/usr/etc:/usr/local:/usr/local/bin:/users/omt:/users/omt/BIN:/sw/stw/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/software/mycpu/lang:/usr/local/bin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/etc/opt/licenses:/opt/SUNWspro/bin:/usr/opt/SUNWmd/sbin:/users/omt/notesr4:/usr/etc:/sbin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/sw/bin:.:/usr/openwin/bin:/usr/hosts:/software/any/script:/software/mycpu/local/bin:/users/omt/bin:/users/omt/script:/software/mycpu/transcript/bin:/software/mycpu/sunpc/bin:/sw/x3270/bin.sun4.SunOS-4.1.1:/software/mycpu.wme/LabView-3.1:.:/usr/ucb:/usr/bin:/bin:/sw/sysadm/Scripts
PIPESTATUS=([0]="0")
PPID=25252
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
PWD=/usr/local/src/kaffe-cross
RANLIB=/opt/xgc/bin/erc-elf-ranlib
REMOTEHOST=estwmw.wm.estec.esa.nl
SHELL=/usr/local/bin/tcsh
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
SHLVL=2
SOFTWARE='MOTIF FRAMEX X3270 SPARCWORKS MATH PV-WAVE500 STW LABVIEW3.1'
TERM=xterm
TZ=WET
UID=1188
USER=omt
VENDOR=sun
_=ls
ac_cv_c_bigendian=yes
ac_cv_sizeof___int64=0
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_short=2
ac_cv_sizeof_voidp=4
file_separator=/
path_separator=:


Setting for KAFFE


setenv CC       /opt/xgc/bin/erc-elf-gcc
setenv NM       /opt/xgc/bin/erc-elf-nm
setenv LD       /opt/xgc/bin/erc-elf-ld
setenv AR       /opt/xgc/bin/erc-elf-ar
setenv AS       /opt/xgc/bin/erc-elf-as
setenv RANLIB   /opt/xgc/bin/erc-elf-ranlib
setenv CPP      /opt/xgc/bin/erc-elf-c++
setenv ac_cv_sizeof_short 2
setenv ac_cv_sizeof_int 4
setenv ac_cv_sizeof_long 4
setenv ac_cv_sizeof_long_long 8
setenv ac_cv_sizeof___int64 0
setenv ac_cv_sizeof_voidp 4
setenv ac_cv_c_bigendian yes
setenv ac_cv_c_char_unsigned yes
setenv path_separator :
setenv file_separator /
-- 
Óscar Martínez de la Torre
Telecommunication Engineer at Universidad Politécnica de Madrid 
European Space Agency YGT-Staff ESTEC/TOS/EMS Eramus Building Office
Nb212 
Keplerlaan,1 - NL 2201 AZ - Noordwijk ZH - The Netherlands
Office Phone: +31-(0)71.565.5844 - GSM Phone: +34-656.906411
ESA Web: www.estec.esa.nl - Personal Web: www.etsit.upm.es/~omt
eMail: omt at wm.estec.esa.nl - omt at etsit.upm.es


More information about the kaffe mailing list