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

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

Re: [avr-gcc-list] AVR GDB testsuite


From: Boyapati, Anitha
Subject: Re: [avr-gcc-list] AVR GDB testsuite
Date: Sat, 18 Jun 2011 13:30:02 +0800


>-----Original Message-----
>From: Georg-Johann Lay [mailto:address@hidden
>Sent: Saturday, June 18, 2011 2:26 AM
>To: Boyapati, Anitha
>Cc: Weddington, Eric; address@hidden
>Subject: Re: [avr-gcc-list] AVR GDB testsuite
>
>Boyapati, Anitha schrieb:
>>
>> Aah..I am already running into strange issues. Looks like these days GNU
>tools are waging a war against me :-(
>>
>> Now simulavr is complaining...
>>
>> if gcc -DHAVE_CONFIG_H -I. -I../../src -I.    -Wall -Winline -Werror -
>I../../src/getopt -g -O2 -MT adc.o -MD -MP -MF ".deps/adc.Tpo" -c -o adc.o
>../../src/adc.c; \
>>         then mv -f ".deps/adc.Tpo" ".deps/adc.Po"; else rm -f
>".deps/adc.Tpo"; exit 1; fi
>> : warnings being treated as errors
>> ../../src/adc.c: In function 'adc_intr_cb':
>> ../../src/adc.c:270: error: cast from pointer to integer of different
>size
>
>Perhaps -Werror is too hard. Is there int in the source and you are
>compiling on 64-bit platform?

I just went ahead and removed -Werror. Then the build went smooth. Yes, I am 
using 64-bit GNU linux.


> Or that kind of stuff simulavr isn't
>prepared for?
>

I haven't analyzed much. Most likely it should be because x86_64 platform stuff.


Anitha



reply via email to

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