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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.