gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gforth] compiling gforth on armv7l - beaglebone


From: kibler
Subject: [gforth] compiling gforth on armv7l - beaglebone
Date: Thu, 31 May 2012 21:23:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

I am trying to get gforth running on the new beaglebone system.
I have tried compiling it using the default angstrom version of
linux and Arch linux. Both get to the same point and fail.
I have seen posts that it can work with beagleboards, yet they
are a bit different that this one. So not sure if this is
due to slightly different chip set or something new.

I have included some of the information in case this is a
new problem. I noticed it can't find a ffi.h, however it does
have libffi 3.0.10 installed, with ffi.h - see last of data.

The cpu is a Cortex8 Armv7 with Hardware VFP - Neon.
I did try exporting platform=beagleboard with no luck.

bill.

 address@hidden gforth-mirror]# ./BUILD-FROM-SCRATCH
configure.in:261: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
../../lib/autoconf/general.m4:2938: AC_LIBOBJ is expanded from...
configure.in:261: the top level
configure.in:261: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
../../lib/autoconf/general.m4:2938: AC_LIBOBJ is expanded from...
configure.in:261: the top level
configure.in:261: warning: AC_LIBOBJ(../$arm_cacheflush): you should use 
literals
../../lib/autoconf/general.m4:2938: AC_LIBOBJ is expanded from...
configure.in:261: the top level
checking build system type... armv7l-unknown-linux-gnu
checking host system type... armv7l-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for 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 whether to use two dispatches per conditional branch... 1
checking make type... GNU Make
checking whether the linker accepts -export-dynamic... yes
Check for arch/arm//gforth.ld (false)
checking size of char *... 4
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of intptr_t... 4
checking size of int128_t... 0
checking size of uint128_t... 0
checking for a C type for cells... int
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for octabytes... long long
checking for a C type for double-cells... long long
checking for a C type for unsigned double-cells... unsigned long long
checking for off_t... yes
checking size of off_t... 8
checking if gcc understands -fno-gcse... yes
checking if gcc understands -fno-strict-aliasing... yes
checking if gcc understands -fno-crossjumping... yes
checking if gcc understands -fno-reorder-blocks... yes
checking if gcc understands -falign-labels=1... yes
checking if gcc understands -falign-loops=1... yes
checking if gcc understands -falign-jumps=1... yes
checking if gcc understands -Wimplicit-function-declaration... yes
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking whether gcc understands '__thread'... yes
checking how to invoke m4... m4 -s
checking for install-info... /usr/bin/install-info
checking for chcon... chcon -t unconfined_execmem_exec_t
checking whether byte ordering is bigendian... no
checking if and how we can waste code space... nop
checking if and how we can do comments in asm statements... "# "
checking whether ln -s works... yes
checking for a BSD-compatible install... /bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for emacs... no
checking for xemacs... no
checking for glibtool... no
checking for libtool... libtool
checking for asin in -lm... yes
checking for lt_dlinit in -lltdl... yes
checking for clock_gettime in -lrt... yes
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking ffi/ffi.h usability... no
checking ffi/ffi.h presence... no
checking for ffi/ffi.h... no
checking for ffi_call in -lffi... yes
checking for __builtin_avcall in -lavcall... no
configure: WARNING: The (old) lib.fs foreign function interface needs either 
libffi or the ffcall libraries
checking for working memcmp... yes
checking for memmove... yes
checking for strtoul... yes
checking for pow10... yes
checking for sincos... yes
checking for strerror... yes
checking for strsignal... yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dlopen... no
checking for sys_siglist... yes
checking for getrusage... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for stack_t... yes
checking whether sys_siglist is declared... yes
checking for getopt_long... yes
checking for expm1... yes
checking for log1p... yes
checking for rint... yes
checking for ecvt... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working POSIX fnmatch... yes
checking for mmap... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for wcwidth... yes
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking for gforth... echo "You need to configure with a gforth in \$PATH to build this 
part" && false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating preforth
config.status: creating libforth
config.status: creating gforthker
config.status: creating engine/Makefile
config.status: WARNING:  'engine/Makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating engine/libcc.h
config.status: creating doc/version.texi
config.status: creating build-ec
config.status: creating engine/config.h
config.status: executing stamp-h commands
mkdir -p -- include/gforth/0.7.9-20120317
Running: make
if test -r version && test x'0.7.9-20120317' = x`cat version` ; then true ; else 
echo 0.7.9-20120317 > version ; fi
echo ": version-string s\" 0.7.9-20120317\" ;" > kernel/version.fs
sed -f mkdosmf.sed <engine/Makefile.in >engine/makefile.dos
sed -f mkos2mf.sed <engine/Makefile.in >engine/makefile.os2
echo '%.o:      %.c' >>engine/makefile.os2
echo '          $(GCC) $(CFLAGS) $(CPPFLAGS) -c $<' >>engine/makefile.os2
(cd . && m4 -s -Dcondbranch_opt=0 prim) >prim.b
sleep 1 #should make hpux-workaround unnecessary
GFORTH="./preforth -p ".:~+:."" ./gfgen
make: *** [engine/prim.i] Error 1
make: *** Deleting file `engine/prim.i'

address@hidden gforth-mirror]# ./configure
checking build system type... armv7l-unknown-linux-gnu
checking host system type... armv7l-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for 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 whether to use two dispatches per conditional branch... 1
checking make type... GNU Make
checking whether the linker accepts -export-dynamic... yes
Check for arch/arm//gforth.ld (false)
checking size of char *... 4
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of intptr_t... 4
checking size of int128_t... 0
checking size of uint128_t... 0
checking for a C type for cells... int
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for octabytes... long long
checking for a C type for double-cells... long long
checking for a C type for unsigned double-cells... unsigned long long
checking for off_t... yes
checking size of off_t... 8
checking if gcc understands -fno-gcse... yes
checking if gcc understands -fno-strict-aliasing... yes
checking if gcc understands -fno-crossjumping... yes
checking if gcc understands -fno-reorder-blocks... yes
checking if gcc understands -falign-labels=1... yes
checking if gcc understands -falign-loops=1... yes
checking if gcc understands -falign-jumps=1... yes
checking if gcc understands -Wimplicit-function-declaration... yes
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking whether gcc understands '__thread'... yes
checking how to invoke m4... m4 -s
checking for install-info... /usr/bin/install-info
checking for chcon... chcon -t unconfined_execmem_exec_t
checking whether byte ordering is bigendian... no
checking if and how we can waste code space... nop
checking if and how we can do comments in asm statements... "# "
checking whether ln -s works... yes
checking for a BSD-compatible install... /bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for emacs... no
checking for xemacs... no
checking for glibtool... no
checking for libtool... libtool
checking for asin in -lm... yes
checking for lt_dlinit in -lltdl... yes
checking for clock_gettime in -lrt... yes
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
checking ffi/ffi.h usability... no
checking ffi/ffi.h presence... no
checking for ffi/ffi.h... no
checking for ffi_call in -lffi... yes
checking for __builtin_avcall in -lavcall... no
configure: WARNING: The (old) lib.fs foreign function interface needs either 
libffi or the ffcall libraries
checking for working memcmp... yes
checking for memmove... yes
checking for strtoul... yes
checking for pow10... yes
checking for sincos... yes
checking for strerror... yes
checking for strsignal... yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dlopen... no
checking for sys_siglist... yes
checking for getrusage... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for stack_t... yes
checking whether sys_siglist is declared... yes
checking for getopt_long... yes
checking for expm1... yes
checking for log1p... yes
checking for rint... yes
checking for ecvt... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working POSIX fnmatch... yes
checking for mmap... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for wcwidth... yes
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking for gforth... echo "You need to configure with a gforth in \$PATH to build this 
part" && false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating preforth
config.status: creating libforth
config.status: creating gforthker
config.status: creating engine/Makefile
config.status: WARNING:  'engine/Makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating engine/libcc.h
config.status: creating doc/version.texi
config.status: creating build-ec
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands

address@hidden gforth-mirror]#  make
GFORTH="./preforth -p ".:~+:."" ./gfgen
make: *** [engine/prim.i] Error 1
make: *** Deleting file `engine/prim.i'
address@hidden gforth-mirror]#

address@hidden gforth-mirror]# pacman -Si libffi
Repository     : core
Name           : libffi
Version        : 3.0.11-1
URL            : http://sourceware.org/libffi
Licenses       : MIT
Groups         : None
Provides       : None
Depends On     : glibc
Optional Deps  : None
Conflicts With : None
Replaces       : None
Download Size  :  30.98 KiB
Installed Size : 160.00 KiB
Packager       : Kevin Mihelich <address@hidden>
Architecture   : armv7h
Build Date     : Sun 29 Apr 2012 10:12:09 AM CDT
MD5 Sum        : 86c004439c93a24930f25723c87cf541
SHA256 Sum     : None
Signatures     : None
Description    : A portable, high level programming interface to various calling
                 conventions

address@hidden gforth-mirror]# pacman -Ql libffi
libffi /usr/
libffi /usr/lib/
libffi /usr/lib/libffi-3.0.10/
libffi /usr/lib/libffi-3.0.10/include/
libffi /usr/lib/libffi-3.0.10/include/ffi.h
libffi /usr/lib/libffi-3.0.10/include/ffitarget.h
libffi /usr/lib/libffi.a
libffi /usr/lib/libffi.so
libffi /usr/lib/libffi.so.5
libffi /usr/lib/libffi.so.5.0.10
libffi /usr/lib/pkgconfig/
libffi /usr/lib/pkgconfig/libffi.pc
libffi /usr/share/
libffi /usr/share/info/
libffi /usr/share/info/libffi.info.gz
libffi /usr/share/licenses/
libffi /usr/share/licenses/libffi/
libffi /usr/share/licenses/libffi/LICENSE
libffi /usr/share/man/
libffi /usr/share/man/man3/
libffi /usr/share/man/man3/ffi.3.gz
libffi /usr/share/man/man3/ffi_call.3.gz
libffi /usr/share/man/man3/ffi_prep_cif.3.gz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]