Follow-up Comment #1, bug #35407 (project avr-libc):

> If no library is found, the default from avr2 is used

Please notice: If no directory avr25/tiny-stack is available and thus the
default avr2 is used, the linker will report an error because he cannot find
the crtxxx.o startup code.

As a consequence, this issue is a real problem rather than just an extension.

Example: Compile a minimal progam like "int main(){}" with 

avr-gcc main.c -mmcu=attiny24a

ATtiny24A has a tiny stack and its expected multilib including startup code is
therefore avr25/tiny-stack

You need avr-gcc 4.7 from sources later than 3.Jan 2012 (GCC SVN trunk
r182797) so see the problem.









    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35407>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to