Post Created date
compilers
A few years back I ported some production C-code to a 16-bit processor to test some ramifications of a new design and processor selection. The code required several loops, look-up...
Saturday, 13 April 2013 - 17:28
floating-point and 'pow' function breaks compiler[SOLVED]
Yes, but similar too. Perforce Jam is an old program and no longer supported, but there is boost-jam and ftjam which are more current. The thing I like best, is when you change...
Monday, 4 February 2013 - 15:44
again: relocation truncated to fit: R_AVR_13_PCREL
garan wrote:kmceng, you compiled the compiler? Cool. But that's out of my scope. I'm happy if I can use it...On Linux it's a bit less out of the ordinary. Besides, Bingo and...
Monday, 4 February 2013 - 15:15
floating-point and 'pow' function breaks compiler[SOLVED]
I went back to Jam and took a look in the Jambase file which controls things. It turns out if I stick the -lm into the LINKLIBS definition instead of the LINKFLAGS definition, it...
Monday, 4 February 2013 - 14:14
again: relocation truncated to fit: R_AVR_13_PCREL
Yes I have run into that, where adding some code to a lengthy project would suddenly cause the error. Then adding, refactoring code would make it disappear again. Like it was...
Sunday, 3 February 2013 - 18:35
again: relocation truncated to fit: R_AVR_13_PCREL
I'm the author of the thread clawson mentions above. (floating-point and 'pow' function breaks compiler) In the savannah link he mentioned, there is a brand new comment:Quote:FYI...
Sunday, 3 February 2013 - 17:55
floating-point and 'pow' function breaks compiler[SOLVED]
OMG! I just pulled out an old makefile and built some test code. Now it works!! I haven't used make for my AVR projects in 3 years. I guess I'll have to go back to using...
Sunday, 3 February 2013 - 16:28
floating-point and 'pow' function breaks compiler[SOLVED]
That worked! That's really weird. Since I use Jam and a Jamfile, the operations do compile and then link. But it fails there. Perhaps it's a command-line combination of things...
Sunday, 3 February 2013 - 15:48
floating-point and 'pow' function breaks compiler[SOLVED]
I did post an example. It's in the first link. But here's a slightly modified version /* torture.c */ #include int main(void) { volatile double a; double c; a = 32.0;...
Sunday, 3 February 2013 - 15:29
floating-point and 'pow' function breaks compiler[SOLVED]
Actually my app is working by dual sqrt calls to get a 4th root. Then printf works fine to show me the results. I'm just hoping not to need a cube root! The failing example in...
Sunday, 3 February 2013 - 14:53
signature-row reading issue
Just as a final follow-up to this issue, I contacted Atmel about it and they looked into it all the way down to the production line. The response was: Quote: As I get...
Saturday, 2 February 2013 - 15:25
avr-gcc Feature: Fixed-Point Support
Right. And the AVR32 I last used even had a floating point processor. But this project is on an Xmega128. It doesn't need much speed, but the math just happens to be BIG. Guess...
Sunday, 27 January 2013 - 20:02

Pages