News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

ARM LPC2478

Started by Gravity, June 06, 2009, 01:23:16 PM

Previous topic - Next topic

Gravity

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.next.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

MortenMacFly

Quote from: Gravity on June 06, 2009, 01:23:16 PM
I get the same responses as this post
http://forums.next.codeblocks.org/index.php/topic,9282.0.html
So you also know that this is fixed in a nightly.

Quote from: Gravity on June 06, 2009, 01:23:16 PM
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Gravity

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?

Gravity

I've downloaded the latest YAGARTO and have got it building\ debugging.

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