that you solved the problem.
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http://www.develer.com/
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
)
In your case, you can use it like this in your code to get member offsets:
offsetof(A, P)
offsetof(A, Q)
offsetof(A, R)
Is a macro, so it get expanded by preprocessor.
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http://www.develer.com
to type:
echo $CFLAGS
and if it prints out some text, your CFLAGS are set to that default
somewhere in your shell profile files.
To avoid this you can simply type:
export CFLAGS=
This will reset the variable and use makefile supplied only CFLAGS options.
--
_|/ Francesco Sacchi - Develer S.r.l., RD
with WinAVR, so I'm very interested in this script.
Yes, that was my idea too, so if you need a hand, just ask :-)
Bye
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http://www.develer.com/
___
AVR-GCC-list mailing list
AVR-GCC-list
to someone.
http://www.develer.com/oss/AvrToolchain
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http://www.develer.com/
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
(latest) WinAvr, the controller is
resetting at one point or the other. We are using many sprintf_P
functions to save RAM memory. Any clues, suggestions in helping us solve
the problem will be highly appreciated. Thank you.
Have you checked watchdog timeout?
--
_|/ Francesco Sacchi - Develer S.r.l
ATMega64 project and recompiled
with -funsigned-char and -fshort-enums.
The code shrinks only about 200 bytes on an a total size of 59800.
This is only a 0.33% gain. It doesn't definitely worth the effort.
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http://www.develer.com
you can see here:
http://cpp.sourceforge.net/?show=25714
after 15 minutes compilation, I get that error. I think it's strange
it cannot find stdio.h ecc
How can I fix it?
What are the configure options you are using?
--
_|/ Francesco Sacchi - Develer S.r.l., RD dept.
|\ http
. That should not
be linked if you use -Os and use a function call instead. But some times
it is, regardless of -Os option. I've posted a bug report and trying to
build a suitable testcase, but I've not so much time right now.
If somebody else would try, will be very appreciated.
--
_|/ Francesco Sacchi