ARM GCC installation/compiling

Guest #1474983
Rate this post
useful
not useful
Hi,
i'm not able to install ARM GCC :(

First i installed ARM GCC for linux (like in the tutorial on this 
website)
Now when i compile something i get some strange errors. After some hours 
of fruitless search for the mistake i gave up.

Then i installed WinARM...
now i get exactly the same strange errors like in Linux :(

In the Attachment are the Error Messages.

Please help me.
Marc
#1474994
Rate this post
useful
not useful
Please Look at your directory
this errors can(but don't have to) be created by a space character,
I know this errors from WinAvr
"undefined reference to `_lseek_r'"
try to compile the files in a directory free of space characters

-It's a German Linux or not?!
Same in German:

Beim Winavr können(müssen aber nicht) solche Fehler aufgrund von 
Leerzeichen im Pfad auftreten, alles einmal in ein Leerzeichen freis s 
Verzeichnis installieren und kopieren und compilen- hat damals beim 
WinAVR(auch gcc) geholfen

mfg
#1475253
Rate this post
useful
not useful
The error file shows calls to functions that are not provided by a 
newlib.
You will need a source file normaly called syscalls.c. This is because a 
newlib is not hardware dependent. The hardware dependent functions have 
to be defined in syscalls.c.

In german:

Der Fehlerlog zeigt Aufrufe von Funktionen, die von der newlib nicht zur 
Verfügung gestellt werden. Dafür benötigt man eine Datei, die 
üblicherweise syscalls.c heißt. Das liegt daran, dass eine newlib nicht 
hardwareabhängig ist. Die hardwareabhängigen Funktionen müssen in 
syscalls.c definiert werden.

http://svn.openpcd.org/trunk/firmware/src/os/syscalls.c

Grüße,

Peter
#1476648
Rate this post
useful
not useful
Marc wrote:
> No one can help me? :(


After a mere eight hours, you posted that!  There are 24 hours in a day, 
and not everyone is in your time-zone! And those that are might also 
have to work for a living, and have a life besides this forum. Patience.


> But where to place it?

It does not matter. You just need to implement it, compile it and link 
the object file with your code.

WinARM includes examples for a number of target micro-controllers and 
boards. You should be able to adapt one of those for your target.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now