??? 09/23/05 11:39 Read: times |
#101446 - Linker? Responding to: ???'s previous message |
Vimal Amin said:
I am using Uvison C51 compilers under Silabl IDE. What Linker are you using? I find that all my multiply or divide statements compiles in to LCALL 0000. This sounds like a Link problem. Have you tried comparing the Linker listings ("map" files) generated under uVision & SiLabs - may be a clue there. As a workaround, could you build your code under uVision, then load the resulting executable into the SiLabs IDE to simulate it? (should be possible, as the SiLabs is using Keil tools anyway, isn't it?) Same files under Uvision compiles fine. Again, it sounds like a Link problem, not a compilation problem: The compiler doesn't know the address of the external calls (including multiply/divide Library calls) - so it just puts a "dummy" address (eg, 0000) into its relocatable output file. It is then the Linker's job to fill-in these "dummies" - sounds like this is where your problem lies. Please post the smallest complete program that demonstrates the problem. Cut & Paste; don't re-type. Use the 'PRE' and '/PRE' tags. |
Topic | Author | Date |
Silab IDE Problem | 01/01/70 00:00 | |
Cross-post | 01/01/70 00:00 | |
Linker? | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
OBJECTEXTEND | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
Silabs does not support anything | 01/01/70 00:00 | |
debugger - OBJECTEXTEND?? | 01/01/70 00:00 | |
yes, it does, in the usual stupid way | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
New features...? | 01/01/70 00:00 | |
That's what I do | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
Linker Listing File | 01/01/70 00:00 | |
Silab IDE Problem | 01/01/70 00:00 | |
Clue !!![]() | 01/01/70 00:00 | |
Why you think so ? | 01/01/70 00:00 | |
Diagramatically (warning - widescreen!) | 01/01/70 00:00 | |
Good diagram | 01/01/70 00:00 | |
Locator | 01/01/70 00:00 | |
Works perfect at my place! | 01/01/70 00:00 | |
"investing in an ICE" | 01/01/70 00:00 |