how to port a scheme interpreter to om?

Shawn citypw at gmail.com
Wed Oct 28 17:48:17 CET 2009


>
> Ah, the happy conjunction of my main free software interests...  (I'm
> one of Guile's maintainers.)
>
wowo~it's pleasure to meet you here dude~

 If you want to send me details, I'm happy to try to help.  But
> cross-compiling environments are tricky so it could take a few
> iterations.
>
the 1.4 version of guile has been succeed compile.but got this below on
board:
[@FriendlyARM /shawn]#
guile
/bin/guile: /bin/guile: 1: Syntax error: "(" unexpected
and 1.8.7 failed(it's a little bit long) to compile:
[sth0R at localhost guile-1.8.7]$ ./configure
--prefix=/citypw/shawn-dev/port-guile-to-arm/guile-build
--target=arm-linux-gcc --host=arm-linux
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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
configure: autobuild project... guile
configure: autobuild revision... 1.8.7
configure: autobuild hostname... localhost.localdomain
configure: autobuild timestamp... 20091028T163227Z
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-linux-gcc... arm-linux-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 arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc3
checking how to run the C preprocessor... arm-linux-gcc -E
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for arm-linux-gcc option to accept ISO C89... (cached) none needed
checking whether arm-linux-gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-linux-gcc...
/usr/local/arm/3.4.1/arm-linux/bin/ld
checking if the linker (/usr/local/arm/3.4.1/arm-linux/bin/ld) is GNU ld...
yes
checking for BSD- or MS-compatible name lister (nm)...
/usr/local/arm/3.4.1/bin/arm-linux-nm -B
checking the name lister (/usr/local/arm/3.4.1/bin/arm-linux-nm -B)
interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/local/arm/3.4.1/arm-linux/bin/ld option to reload object
files... -r
checking for arm-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-ar... arm-linux-ar
checking for arm-linux-strip... (cached) arm-linux-strip
checking for arm-linux-ranlib... arm-linux-ranlib
checking command to parse /usr/local/arm/3.4.1/bin/arm-linux-nm -B output
from arm-linux-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gcc static flag -static works... yes
checking if arm-linux-gcc supports -c -o file.o... yes
checking if arm-linux-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-gcc linker
(/usr/local/arm/3.4.1/arm-linux/bin/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
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
checking for lt_dlinit in -lltdl... no
configure: error: libltdl not found.  See README.


>
> Regards,
>          Neil
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
GNU powered it...
GPL protect it...
God blessing it...

regards
HFG--Shawn the R0ck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20091029/27cce575/attachment.htm 


More information about the community mailing list