0 Members and 3 Guests are viewing this topic.
root@Ubuntu-Josh:/media/Windows/Programming/src/arm/Test# makearm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -T ../system/ldscript ../system/crt0.s test.o syscalls.o utils.o -o test.elf/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/lib/libc.a(lib_a-syscalls.o): In function `do_AngelSWI':/home/joshua/build/arm-elf/newlib/libc/sys/arm/../../../../../../newlib-1.17.0/newlib/libc/sys/arm/syscalls.c:103: multiple definition of `_exit'/tmp/ccW3j5Mx.o:(.text+0x0): first defined here/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: ERROR: Source object test.o has EABI version 5, but target test.elf has EABI version 0/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: failed to merge target specific data of file test.o/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: ERROR: Source object syscalls.o has EABI version 5, but target test.elf has EABI version 0/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: failed to merge target specific data of file syscalls.o/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: ERROR: Source object utils.o has EABI version 5, but target test.elf has EABI version 0/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/bin/ld: failed to merge target specific data of file utils.o/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/lib/libc.a(lib_a-syscalls.o): In function `_sbrk':syscalls.c:(.text+0x478): undefined reference to `end'collect2: ld returned 1 exit statusmake: *** [test] Error 1
joshua@Ubuntu-Josh:/media/Windows/Programming/src/arm/Test$ makearm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS test.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS syscalls.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS utils.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -T ../system/ldscript ../system/crt0.s test.o syscalls.o utils.o -o test.elf/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/lib/libc.a(lib_a-syscalls.o): In function `do_AngelSWI':/home/joshua/build/arm-elf/newlib/libc/sys/arm/../../../../../../newlib-1.17.0/newlib/libc/sys/arm/syscalls.c:103: multiple definition of `_exit'/tmp/ccs9eMe4.o:(.text+0x0): first defined here/usr/local/arm/lib/gcc/arm-elf/4.3.3/../../../../arm-elf/lib/libc.a(lib_a-syscalls.o): In function `_sbrk':syscalls.c:(.text+0x478): undefined reference to `end'collect2: ld returned 1 exit statusmake: *** [test] Error 1
oshua@Ubuntu-Josh:/media/Windows/Programming/src/arm/Test$ makearm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS test.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS syscalls.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -c -I../headers -D CAS utils.carm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -T ../system/ldscript ../system/crt0.s test.o syscalls.o utils.o -o test.elfarm-elf-objcopy -O binary test.elf test.binmkdir -p ../../res/CAS../../tools/MakeTNS/MakeTNS.exe test.bin ../../res/CAS/test.tnsFailed !rm -f test.bin test.elf
$ makearm-elf-gcc -mcpu=arm7tdmi -Os -Wall -W -fpic -fno-merge-constants -T ../system/ldscript ../system/crt0.s test.o syscalls.o utils.o -o test.elfarm-elf-objcopy -O binary test.elf test.binmkdir -p ../../res/CAS../../tools/MakeTNS/MakeTNS test.bin ../../res/CAS/test.tnsFailed !rm -f test.bin test.elf
MakeTNS test.bin test.tns
make: *** No rule to make target 'gravity_particles.o', needed by 'demo'. Stop
but I hate long posts especially when it has heaps of code in it.
Post 1##############################EDIT:Post 2
You need arm-elf-gcc. Try downloading an older version of Yagarto (the version I have installed under WINE says 23.12.2009).