OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Without Qt Compiling Mzscheme, fatal signal 11 when cross compiling mzscheme 352
tuna
post Jan 26 2009, 04:17 PM
Post #1





Group: Members
Posts: 5
Joined: 31-May 07
Member No.: 16,816



Without QT libs, to create a cross compiler with the intention of compiling mzscheme-352
[compiling machine] # uname -mrv
2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686

[env variables and flags for compiler]:
AR='arm-linux-ar rc';
AS='arm-linux-as';
CC='arm-linux-gcc -E';
CXX='arm-linux-g++ -E';
CPP='arm-linux-gcc -E';
LD='arm-linux-ld';
LDSHARED='arm-linux-gcc';
RANLIB='arm-linux-ranlib';
CROSSCOMPILE=$HOME/z/opt/Embedix/tools
GCC='$CROSSCOMPILE/bin/arm-linux-gcc'
STRIP='$CROSSCOMPILE/bin/arm-linux-strip'
PATH=$CROSSCOMPILE/bin:$CROSSCOMPILE/arm-linux/bin:$CROSSCOMPILE/arm-linux/sbin:$CROSSCOMPILE/arm-linux/lib:$CROSSCOMPILE/lib/gcc-lib/arm-linux/2.95.2:${PATH}
GCC_EXEC_PREFIX=$CROSSCOMPILE/lib/gcc-lib/arm-linux/2.95.2
LIBRARY_PATH=$CROSSCOMPILE/lib/gcc-lib/arm-linux/2.95.2:$CROSSCOMPILE/arm-linux/lib
LD_LIBRARY_PATH=$CROSSCOMPILE/lib/gcc-lib
LDFLAGS="-L$CROSSCOMPILE/arm-linux/lib -L$CROSSCOMPILE/lib/gcc-lib/arm-linux/2.95.2 -B$CROSSCOMPILE/arm-linux/lib/ -Wall -rpath-link=$CROSSCOMPILE/lib/gcc-lib -L. -lz"
CPPFLAGS="-I$CROSSCOMPILE/arm-linux/include -I$CROSSCOMPILE/lib/gcc-lib/arm-linux/2.95.2/include"
CFLAGS="-v -g -O1 -fPIC -DHAVE_UNISTD_H -DUSE_MMAP"
export CROSSCOMPILE CC CXX CPP LD LDSHARED AR AS GCC STRIP RANLIB PATH LIBRARY_PATH LD_LIBRARY_PATH LDFLAGS CFLAGS CPPFLAGS GCC_EXEC_PREFIX INCPATH;

specifically i am using the following packages:
binutils-cross-arm-2.11.2-0.i386.rpm
gcc-cross-sa1100-2.95.2-0.i386.rpm
linux-headers-arm-sa1100-2.4.6-3.i386.rpm
glibc-arm-2.2.2-0.i386.rpm
extracted in $HOME/z/ to $HOME/z/...

but when i invoke the configure script for mzscheme-352 with:
./configure --host=arm-linux --target=arm-linux --build=i686-linux --prefix=$CROSSCOMPILE/arm-linux/include

i get this error in config.log:
arm-linux-gcc: Internal compiler error: program cpp got fatal signal 11

Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 05:57 PM