C99 for AVR32

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

Is C99 fully implemented for AVR32 linux? THe code compiles using the _Bool type and -std=c99 but the stdbool.h file is missing. I could create one as its only a tiny file but it makes me wonder if other things are missing...

Regards, Mike.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm...my system _has_ the stdbool.h file, but it doesn't come from uClibc, it comes from gcc, so it's installed in $(prefix)/lib/gcc/avr32-linux/$(version)/include.

Did you try including stdbool.h from your program? If it didn't work, did you try gcc 4.1?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi how,

Your quite right, its in ../gcc/avr32-linux/.., thats what confused me, I did a quick "find" and found it :D

It compiles fine with stdbool.h.

Regards, Mike.