Forum: ARM programming with GCC/GNU tools undefined ref to "_exit"

Author: Kai (Guest)
Posted on:

Rate this post
0 useful
not useful
Hey, i had yagarto running on my vista 32Bit.

Now i have W7 64Bit and it dont want to run..

here the error code shown in console while try to compile a assembler 

...\Tutorien\RA\Praktika\termin3>arm-elf-gcc aufgabe1.S -o aufgabe1.elf
c:/program files 
lib\libc.a(lib_a-exit.o): In function `exit':
newlib-1.18.0/newlib/libc/stdlib/exit.c:65: undefined reference to 
collect2: ld returned 1 exit status

need help :)



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.