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

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

Re: [avr-gcc-list] avr-libc


From: Senthil Kumar Selvaraj
Subject: Re: [avr-gcc-list] avr-libc
Date: Tue, 31 Jul 2012 17:54:59 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 31, 2012 at 02:55:39PM +0300, Kaan Akşit wrote:
> Dear all,
> 
> I have tried the sample code under this link:
> http://www.nongnu.org/avr-libc/user-manual/group__demo__project.html#demo_project_src
> 
> and here is the output:
> 
> address@hidden ~ $ avr-gcc -g -Os -mmcu=atmega8 -c demo.c
> demo.c:17:22: fatal error: inttypes.h: No such file or directory
> compilation terminated.
> 

That is not very useful - compilation failed, so binutils is not
involved.

Can you try compiling the following program (say test.c)

int main () { return 0; }

with the following command line
avr-gcc -mmcu=atmega8 -v -c test.c

Regards
Senthil



reply via email to

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