Hi, we are trying to compile ecos with a later version than the default supplied arm toolset. Ecos compiles to a .a just fine, but then the final compile/link (in this case the example "hello.c") fails with the error:
=============================================================================== C:\projects\ecos_examples>arm-unknown-linux-gnu-gcc -nostartfiles -Lc:/projects/ ecos_test/install/lib -Ttarget.ld -static -mcpu=arm7tdmi -Wl,--gc-sections -Wl,- static -g -nostdlib -o hello.elf hello.o /home/samiam/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/lib/gcc/a rm-unknown-linux-gnu/4.1.0/../../../../arm-unknown-linux-gnu/bin/ld: error: no m emory region specified for loadable section `.got' collect2: ld returned 1 exit status C:\projects\ecos_examples> =============================================================================== As you can see, we are trying the gcc 4.1.0 compiler. So far, all we have seen is that .got implies "position independent code" mode. I didn't see an option to turn this mode off, we don't need or want it. Thank you. Scott Moore Powerfile Inc. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
