Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tuna

Pages: [1]
1
Software / Without Qt Compiling Mzscheme
« on: January 26, 2009, 07:17:46 pm »
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

2
da_blitz, first i'd like to thank you for your help
specifically i'm working on a lisp implementation
your advice has made me realize i'll be compiling with iwmmxt optimizations only under armv5tel specific situations  such as with mcpu= and mtune=

page 42 of this[registers/register aliases and their use]:
http://ajaydudani.googlepages.com/Programm...ded_Systems.pdf

if you can read a verbose, primitive english, this i've found:
http://translate.google.com/translate?hl=e...l%3Den%26sa%3DG

^ for my needs, it looks like these do well, but i'm looking for something more technically informative; [if not free, and online, then in a bookstore]

as for a cross-compiler env. yes, it's a bit tricky; [i'll give bitbake/oe a shot]
ideally i wanted to use poky with qemu, we'll see. [i'm more interested in what any of you know off-hand about this]

cheers

3
It is my understanding that the c1000 offers the pxa270
that would be armv5tel;

now, from an assembly programming pov:
my main questions are: since the pxa270 is not the pxa250 and i have only been able to find the pxa250 architecture manuals from http://www.arm.com where would i find the architecture manuals for the pxa270
and if there isn't a big difference between pxa250 and pxa270, where/what are the differences? if anyone knows

i'd like to setup a cross-compile environment, so i used qemu(on windows) and emulated armv5tejl(j denotes the native ability to execute java bytecode?) could i also use this to create binaries for armv5tel?
if this is completely uninformed already, then my next obvious question is: how do i go about creating a cross-development environment for specifically armv5tel?

i'm really in the dark, so if someone has some links that could help a programmer
please

thanks : D

Pages: [1]