Hi Oleg,
1. only sqrt is implemented roughly. But nobody submitted anything else.
2. To build toolchain under unix you have to read insns provided.
Alternatively - get win binaries and go.
Updating to newer version is always recomended - we 're trying to keep gcc
stable (unless noted otherwise
This is a common mistake.
Just declare ticks as volatile.
~d
On Tuesday 22 October 2002 20:37, Paul Burke wrote:
I'm having a lot of trouble with the way GCC treats various objects. In
particular, if I want to pass falgs about in my program, unless I'm very
pernickety it optimeses them out,
The answer is very simple - you *should* be pernickety about variables that
you don't want optomised out. The term volatile tells the compiler that a
variable's value may change without it knowing about it, or have other side
effects - thus the compiler must read or write it exactly as often as
Hello Dmitry,
Wednesday, October 23, 2002, 2:59:08 PM, you wrote:
D Can anybody check if you _life_ projects work with newly updated gcc?
D My do.
D Thanks.
I could not even build gcc-3.2 with new patches!
FreeBSD 4.6-STABLE, gcc-2.95.4, `internal compile error' of `xgcc' on
file
Hello, Dmitry!
Wednesday, October 23, 2002, 9:19:24 PM, you wrote:
D Fixed.
Compiled Ok. Thank you very much.
BTW, is it possible to have many than one printf() and scanf()-like
functions and select between them with `-mXXX' option of compiler or
with #pragma? IAR C have such ability,
Well,
only printf() like implemented. printf() does not support floating point cause
FP enormously enlarges function code.
I do FP print as:
m = consu/1000. ;
e = ((uint32_t)consu)%1000;
snprintf(buf,20,CONSUMPTION %d.%03d ,m,e);
sscanf() is not implemented - nobody