[Mono-list] Mono on m68k with LTIB

Rodrigo Kumpera kumpera at gmail.com
Tue May 26 11:28:15 EDT 2009


Mono doesn't work under m68k. You have to port it if you want mono to work.


On Tue, May 26, 2009 at 8:56 AM, TheXar <a_wehrmann at hotmail.com> wrote:

>
> Hey there!
>
> I'm currently trying to compile Mono 2.4 for a m68k platform with the LTIB
> building system.
> I'm failing at this point while running:
> ./configure --prefix=/usr --host=m68k-linux --build=i686-pc-linux-gnu
> --enable-minimal=aot,profiler --with-ikvm-native=no --with-jit=no
> --with-glib=embedded
>
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... m68k-unknown-linux-gnu
> checking target system type... m68k-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for m68k-linux-strip... no
> checking for strip... strip
> configure: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet.  If you think this
> configuration is useful to you, please write to autoconf at gnu.org.
> checking how to create a ustar tar archive... gnutar
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether ln -s works... yes
> checking host platform characteristics... ok
> checking for m68k-linux-gcc... gcc
> checking for m68k-linux-gcc... (cached) gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... yes
> 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 ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking dependency style of gcc... gcc3
> checking for m68k-linux-gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for gawk... (cached) mawk
> checking for bison... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e...
>
> /home/wehrmana/Perforce/wehrmann_linux/depot/Baugruppen/LDI3300/Software/switch/dev2/bin/grep
> checking for egrep...
>
> /home/wehrmana/Perforce/wehrmann_linux/depot/Baugruppen/LDI3300/Software/switch/dev2/bin/grep
> -E
> checking for ANSI C header files... yes
> checking for a sed that does not truncate output... /bin/sed
> checking for ld used by gcc... ld
> checking if the linker (ld) is GNU ld... yes
> checking for ld option to reload object files... -r
> checking for BSD-compatible nm... nm
> checking how to recognize dependent libraries... pass_all
> 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 dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for m68k-linux-g77... no
> checking for m68k-linux-xlf... no
> checking for m68k-linux-f77... no
> checking for m68k-linux-frt... no
> checking for m68k-linux-pgf77... no
> checking for m68k-linux-cf77... no
> checking for m68k-linux-fort77... no
> checking for m68k-linux-fl32... no
> checking for m68k-linux-af77... no
> checking for m68k-linux-xlf90... no
> checking for m68k-linux-f90... no
> checking for m68k-linux-pgf90... no
> checking for m68k-linux-pghpf... no
> checking for m68k-linux-epcf90... no
> checking for m68k-linux-gfortran... no
> checking for m68k-linux-g95... no
> checking for m68k-linux-xlf95... no
> checking for m68k-linux-f95... no
> checking for m68k-linux-fort... no
> checking for m68k-linux-ifort... no
> checking for m68k-linux-ifc... no
> checking for m68k-linux-efc... no
> checking for m68k-linux-pgf95... no
> checking for m68k-linux-lf95... no
> checking for m68k-linux-ftn... no
> checking for g77... no
> checking for xlf... no
> checking for f77... no
> checking for frt... no
> checking for pgf77... no
> checking for cf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for xlf90... no
> checking for f90... no
> checking for pgf90... no
> checking for pghpf... no
> checking for epcf90... no
> checking for gfortran... no
> checking for g95... no
> checking for xlf95... no
> checking for f95... no
> checking for fort... no
> checking for ifort... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for ftn... 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... 1572864
> checking command to parse nm output from gcc object... ok
> checking for objdir... .libs
> checking for m68k-linux-ar... ar
> checking for m68k-linux-ranlib... no
> checking for ranlib... ranlib
> checking for m68k-linux-strip... strip
> 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 static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.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
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... ld
> checking if the linker (ld) is GNU ld... yes
> checking whether the g++ linker (ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (ld) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> (cached) (cached) checking how to hardcode library paths into programs...
> immediate
> appending configuration tag "F77" to libtool
> checking for bash... /bin/bash
> checking if dolt supports this host... no, falling back to libtool
> checking for ld used by gcc... (cached) ld
> checking if the linker (ld) is GNU ld... (cached) yes
> checking if the linker (ld) is GNU ld... (cached) yes
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> checking sys/sockio.h usability... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking sys/utime.h usability... no
> checking sys/utime.h presence... no
> checking for sys/utime.h... no
> checking semaphore.h usability... yes
> checking semaphore.h presence... yes
> checking for semaphore.h... yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking linux/rtc.h usability... yes
> checking linux/rtc.h presence... yes
> checking for linux/rtc.h... yes
> checking sys/syscall.h usability... yes
> checking sys/syscall.h presence... yes
> checking for sys/syscall.h... yes
> checking sys/mkdev.h usability... no
> checking sys/mkdev.h presence... no
> checking for sys/mkdev.h... no
> checking sys/user.h usability... yes
> checking sys/user.h presence... yes
> checking for sys/user.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/ipc.h usability... yes
> checking sys/ipc.h presence... yes
> checking for sys/ipc.h... yes
> checking sys/sem.h usability... yes
> checking sys/sem.h presence... yes
> checking for sys/sem.h... yes
> checking sys/utsname.h usability... yes
> checking sys/utsname.h presence... yes
> checking for sys/utsname.h... yes
> checking alloca.h usability... yes
> checking alloca.h presence... yes
> checking for alloca.h... yes
> checking ucontext.h usability... yes
> checking ucontext.h presence... yes
> checking for ucontext.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> Using embedded zlib
> checking elf.h usability... yes
> checking elf.h presence... yes
> checking for elf.h... yes
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking sys/wait.h usability... yes
> checking sys/wait.h presence... yes
> checking for sys/wait.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking ieeefp.h usability... no
> checking ieeefp.h presence... no
> checking for ieeefp.h... no
> checking for isinf... yes
> checking for void *... yes
> checking size of void *... 4
> checking for -Wdeclaration-after-statement option to gcc... yes
> checking integrity of package... ok
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for msgfmt... yes
> checking for pkg-config... /opt/freescale/ltib/usr/bin/pkg-config
> checking for -mno-tls-direct-seg-refs option to gcc... no
> configure: Disabled support for feature: aot
> configure: Disabled support for feature: profiler
> checking for visibility __attribute__... yes
> checking for library containing clock_gettime... -lrt
> checking for dlopen... no
> checking for dlopen in -ldl... yes
> checking for preceeding underscore in symbols... configure: error: cannot
> run test program while cross compiling
> See `config.log' for more details.
>
>
> Unfortunately config.log doesn't help me very much (only last few lines):
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE "mono"
> #define VERSION "2.4"
> #define STDC_HEADERS 1
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_SYS_STAT_H 1
> #define HAVE_STDLIB_H 1
> #define HAVE_STRING_H 1
> #define HAVE_MEMORY_H 1
> #define HAVE_STRINGS_H 1
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_DLFCN_H 1
> #define HAVE_NETDB_H 1
> #define HAVE_UTIME_H 1
> #define HAVE_SEMAPHORE_H 1
> #define HAVE_SYS_UN_H 1
> #define HAVE_LINUX_RTC_H 1
> #define HAVE_SYS_SYSCALL_H 1
> #define HAVE_SYS_USER_H 1
> #define HAVE_SYS_SOCKET_H 1
> #define HAVE_SYS_IPC_H 1
> #define HAVE_SYS_SEM_H 1
> #define HAVE_SYS_UTSNAME_H 1
> #define HAVE_ALLOCA_H 1
> #define HAVE_UCONTEXT_H 1
> #define HAVE_PWD_H 1
> #define HAVE_ZLIB 1
> #define HAVE_ELF_H 1
> #define HAVE_POLL_H 1
> #define HAVE_SYS_POLL_H 1
> #define HAVE_SYS_WAIT_H 1
> #define HAVE_GRP_H 1
> #define HAVE_SYSLOG_H 1
> #define HAVE_WCHAR_H 1
> #define HAVE_ISINF 1
> #define SIZEOF_VOID_P 4
> #define MONO_XEN_OPT 1
> #define DISABLED_FEATURES "aot,profiler"
> #define DISABLE_AOT 1
> #define DISABLE_PROFILER 1
> #define HAVE_BOEHM_GC 1
> #define HAVE_GC_H 1
> #define USE_INCLUDED_LIBGC 1
> #define HAVE_GC_GCJ_MALLOC 1
> #define HAVE_GC_ENABLE 1
> #define USED_GC_NAME "Included Boehm (with typed GC)"
> #define HAVE_DL_LOADER 1
>
> configure: exit 1
>
>
> Does anyone have a tip on how to disable or circumvent the tests or maybe
> get them running?
> Thanks in advance!
>
> Regards,
> Andreas
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Mono-on-m68k-with-LTIB-tp23721631p23721631.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090526/74eaaa99/attachment-0001.html 


More information about the Mono-list mailing list