Binutils for crosscompiling to ARM lazarus / 1-Linux ---------------------------------------------------------------------- Ocye · 2009-11-26 22:57 I'm trying to compile fpc (v2.5.1 from svn) for ARM by "make all CPU_TARGET=arm" which runs fine until ld and as are called. Where can I find arm-linux-ld|as? ---------------------------------------------------------------------- Ocye · 2009-11-27 14:35 No way to avoid self compiling First, I downloaded binutils-source with Synaptic (/usr/src/), decompressed and followed the (german) instructions at http://wiki.ubuntuusers.de/GNU_ARM-Toolchain. Some patches were neccessary for tc-arm.c, google helps. Now I have arm-elf-ld|-as that I softlinked to arm-linux-ld|-as. Make fpc with cpu_target runs well but "make install" produces an error: Code: [Select]... /usr/bin/install -m 755 -d /usr/local/bin /usr/bin/install -c -m 755 plex pyacc /usr/local/bin fpcmake -p -Tarm-linux Makefile.fpc /usr/local/bin/fpcmake: 1: Syntax error: word unexpected (expecting ")") make[4]: *** [fpc_install] Fehler 2 make[4]: Verlasse Verzeichnis '/usr/local/share/fpc/utils/tply' make[3]: *** [tply_install] Fehler 2 make[3]: Verlasse Verzeichnis '/usr/local/share/fpc/utils' make[2]: *** [utils_distinstall] Fehler 2 make[2]: Verlasse Verzeichnis '/usr/local/share/fpc' make[1]: *** [installother] Fehler 2 make[1]: Verlasse Verzeichnis '/usr/local/share/fpc' make: *** [install] Fehler 2 The compiler ppcarm was moved correctly to /usr/local/lib/fpc/2.5.1 but cannot be executed: ldd says "not a dynamic executable". The file /usr/local/bin/fpc has been overridden and can't be executed as well. All following makes fail on Code: [Select]/usr/local/bin/fpc: 1: Syntax error: word unexpected (expecting ")")Fortunately, by deleting and creating a softlink to ppcx64 I can continue programming What did I wrong? Should I better try to install fpc on the arm- machine? It's a Sheevaplug with following specs: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Processor     : ARM926EJ-S rev 1 (v5l)BogoMIPS        : 1192.75Features        : swp half thumb fastmult edsp CPU implementer : 0x56CPU architecture: 5TECPU variant     : 0x2CPU part        : 0x131CPU revision    : 1Cache type      : write-backCache clean     : cp15 c7 opsCache lockdown  : format CCache format    : HarvardI size          : 16384I assoc         : 4I line length   : 32I sets          : 128D size        : 16384D assoc         : 4D line length   : 32D sets          : 128 Hardware        : Feroceon-KWRevision        : 0000Serial        : 0000000000000000