hi there,
me again ! ^_^
always for Pocket PC, using latest version 3.00.4
error #3053: [asm] Offset too big (> 256). Try to rearrange the code, or make it smaller.
error #3053: [asm] Offset too big (> 4096). Try to rearrange the code, or make it smaller.
that's what I get trying to compile my project ... (pretty big c file, about 55k)
wanna have a look ? thx for your time !
The never ending story continues...
Attached is a new version of the compiler that *seems* to fix the problem. I can compile, but get a bunch of linker errors. I let you sort them out... ;-)
Your previously reported struct assignment bug should also be fixed in this version.
Pelle
hey you're the boss !
do you have any pattern for those types of problem ? or are these always very different ?
thx for your time !
Quote from: "Pelle"The never ending story continues...
Attached is a new version of the compiler that *seems* to fix the problem. I can compile, but get a bunch of linker errors. I let you sort them out... ;-)
Your previously reported struct assignment bug should also be fixed in this version.
Pelle
So, should we all be updating to this version?
Quote from: "drakoh"do you have any pattern for those types of problem ? or are these always very different ?
Not always the exact same pattern. Usually when accessing function arguments or local variables.
The number of input arguments to a function, the number of arguments to any of the sub-functions that is called from a function, the total size of local variables, the use of the inline assembler, the use of a variable number of arguments etc. all (to some degree) affect what type of instructions are generated to access a local variables. This is much more complicated for ARM processors (Pocket PC) than for X86 processors (desktop Windows).
Pelle
Quote from: "ldblake"So, should we all be updating to this version?
Not unless you program for Pocket PC...
Pelle
thx pelle ! I dont have thoses errors no more !
I do understand all the problems you mention about code assembling.
I only now have some linking problems ! ^_^
By now, you have probably found most of the 'bad spots'... ;-)
Pelle
I guess trying to build an average size program using different os sources can help finding the little quirks !
great thx for your hard work !