Code::Blocks Forums

User forums => Embedded development => Topic started by: Gravity on June 06, 2009, 01:23:16 pm

Title: ARM LPC2478
Post by: Gravity on June 06, 2009, 01:23:16 pm
Hi,

I've attempted to create and ARM project using the wizard using  the yagarto tool chain (4.2.1).

I get the same responses as this post

http://forums.codeblocks.org/index.php/topic,9282.0.html

i.e 'wizard does'nt know how to set...' etc.

Also compiling the project I get

c:/gccfd/yagarto/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld.exe: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status

so, why is it including crti.o? Does CodeBlocks add its own option as well as the compiler/project options?

Cheers

G
Title: Re: ARM LPC2478
Post by: MortenMacFly on June 06, 2009, 02:59:04 pm
I get the same responses as this post
http://forums.codeblocks.org/index.php/topic,9282.0.html
So you also know that this is fixed in a nightly.

c:/gccfd/yagarto/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld.exe: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
This is an install issue of your tool chain (are you using Vista?!). Update the compiler. This is not a C::B issue, you would get the same error if you compile at the command line.
Title: Re: ARM LPC2478
Post by: Gravity on June 07, 2009, 07:36:50 pm
Hi,

Thanks. I updated CB to the lastest nightly build and it mostly worked.

But for
[100.0%] arm-elf-g++.exe -L"C:\Program Files\GNUARM\lib"  -o default\ARM2.elf default\src\vectors.o default\src\main.o   -s -Wl,-Map,map.txt -mcpu=arm7tdmi -T ld/target_2138.ld 
collect2: ld returned 53 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


What ARM tool chain/version is recommended?
Title: Re: ARM LPC2478
Post by: Gravity on June 08, 2009, 11:17:12 pm
I've downloaded the latest YAGARTO and have got it building\ debugging.

I'm unable to stop the debugger using the stop button though.