Maybe, I misunderstood problem. gcc is fine. But when Arduino compiles S files it looks for files with capital S. Luckily, Arduino/hardware/arduino/cores/arduino doesn't have any S files.
Other toolchains need S files in that directory. --Rick On Tue, May 3, 2011 at 6:37 PM, William "Chops" Westfield <wes...@mac.com> wrote: > > On May 3, 2011, at 11:39 AM, Rick Anderson wrote: > >> The the code that identifies S files is case sensitive, and won't >> picked up s files if the wrong case is used. I believe they have to be >> upper case S. > > Which file actually causes the error? > > I'm pretty sure that there is no "Stdio.h" (with the capital S) > There is a different issues for asm file ("foo.s" vs "foo.S") > > Windows and linux are both case sensitive these days. It's the > Mac that is case-preserving but not case-sensitive. A file that > includes "Stdio.h" will compile fine on a mac, but it will actually > grab "stdio.h": > >> gcc -E foo.c | less >> >> # 1 "foo.c" >> # 1 "<built-in>" >> # 1 "<command line>" >> # 1 "foo.c" >> # 1 "/usr/include/Stdio.h" 1 3 4 >> # 64 "/usr/include/Stdio.h" 3 4 >> >> BillW-MacOSX> ll /usr/include/*dio.h >> -rw-r--r-- 1 wheel 5783 Feb 19 2008 /usr/include/fcgi_stdio.h >> -r--r--r-- 1 wheel 15645 Feb 19 2008 /usr/include/stdio.h >> > > -- President Fair Use Building and Research (FUBAR) Labs http://fubarlabs.org -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/776353 Title: Stdio.h not found -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs