avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Re: AVR-GCC-list Digest, Vol 27, Issue 19


From: Steve Franks
Subject: [avr-gcc-list] Re: AVR-GCC-list Digest, Vol 27, Issue 19
Date: Fri, 27 Apr 2007 15:36:23 -0700

I added c:\WinAVR\libexec\gcc\avr\4.1.1 to the path and now the compiler at
least runs.  But it can't find the include files..

Have you tried adding:
   -I$C:\WinAVR\avr\include
to your gcc commandline?  Or possibly:
   vpath %.h C:/WinAVR/avr/include
I'm no makefile expert, but I have several folders of includes
accumulated over the years, and those seem to make the compiler locate
them with no explict path in the #include.  The  vpath directive
appears to work for libs as well....

Steve




reply via email to

[Prev in Thread] Current Thread [Next in Thread]