URL: https://www.overclockers.at/linux/compiling-problem_auf_arm-architektur_105090/page_1 - zur Vollversion wechseln!
is zwar ein etwas "exotisches" problem, aber vllt könnt ihr mir ja helfen....
da ich es ganz nett finden würde, renderman-shader auf meinem sharp zaurus-pda entwickeln zu können, hab ich mir gedacht, ich nehm mir Pixie (eine verdammt coole open-source-renderman-engine) und kompillier sie mal auf dem ding.
./configure hat aber leider gmeint es findet kein dlopen in -ldl
jetzt meine frage: was ist dlopen? wo krieg ich das für arm-linux daher? wie mach ich das am besten?
Das ist bei der glibc dabei, das kann dir eigentlich gar nicht fehlen. Oder werden überhaupt keine dynamic libs unterstützt auf dem System?
dynamic libraries werden zwar unterstützt, aber ich hab kein glibc drauf (zumindest hab ich keins gefunden)
wo krieg ich das für die arm-architektur daher? (am besten .ipk)
ich find nur zeug für x86, ppc & co.
http://www.zauruszone.farplanet.net...php?BuildingGCC
maybe findest auch hier was
http://www.killefiz.de/zaurus/
das erste is leider ein toter link
auf der zweiten seite hab ich schon vorher gschaut, die is zwar sehr gut, aber von glibc keine spur
Womit läuft's denn sonst?
Zitat von ebtschidas erste is leider ein toter link
auf der zweiten seite hab ich schon vorher gschaut, die is zwar sehr gut, aber von glibc keine spur
ZitatBuilding GCC as a cross-compiler for the Zaurus
Sharp has supplied RPM files which you can install on an Intel Linux machine, which allow you to compile C code to Zaurus binaries. (See GCCBinaries.)
However, if you've got a PPC machine, or some other architecture, these RPM files are useless. You need to build GCC from source as an ARM cross-compiler. You may also want to do this if you're running FreeBSD, or are just generally crotchety about RPMs.
Here is my quick list of notes about how to go about this.
* Preparation
o Pick a directory where the final binaries, headers, and libraries will go. (In this example, /home/zarf/zaurus/tmp)
o Pick a directory where the GCC source will go. (Not the same as the above. In this example, /home/zarf/zaurus/src)
* Downloading
o cd /home/zarf/zaurus/src
o Get http://www.zauruszone.com/files/gli...-2.2.2-0.tar.gz
o Go to ftp://ftp.handhelds.org/pub/linux/arm/toolchain/source and download the following files:
+ binutils-2.9.5.0.22.tar.bz2
+ gcc-2.95.2.tar.bz2
+ gcc-fold-const.patch
+ gcc-2.95.2-diff-991022.gz
* Unpacking glibc
o cd /home/zarf/zaurus/tmp
o tar -zxvf glibc-arm-2.2.2-0.tar.gz
* Building binutils
o cd /home/zarf/zaurus/src
o bzcat binutils-2.9.5.0.22.tar.bz2 | tar -xvf -
o cd binutils-2.9.5.0.22
o ./configure --prefix=/home/zarf/zaurus/tmp --program-prefix=arm-elf-linux- --target=arm-elf-linux
o make
o make install
o cd ..
* Unpacking and patching GCC
o bzcat gcc-2.95.2.tar.bz2 | tar -xvf -
o patch gcc-2.95.2/gcc/fold-const.c gcc-fold-const.patch
o gzcat gcc-2.95.2-diff-991022.gz | patch -d gcc-2.95.2
* Building GCC
o cd gcc-2.95.2
o set path = ( /home/zarf/zaurus/tmp/bin $path )
+ (or the equivalent in bash -- you need this in your path to build successfully)
o ./configure --prefix=/home/zarf/zaurus/tmp --program-prefix=arm-elf-linux- --target=arm-elf-linux
o make
o make install-gcc
der tarball mitn glibc ist leider auch ned gangen (zauruszone.com could not be found)
entweder ich mach irgendwas gröber falsch oder mit der seite hats was?!
zauruszone.com geht bei mir auch nicht.
Probier mal das hier: http://cacko.zaurususergroup.com/
(im Moment ist es gerade slashdotted / nicht erreichbar)
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025