I have tried to find the reason fore my linker problems.
It looks like it comes from the generated assembler file, when compiling to the 
embedded 
platform. 

If i compile to Linux it works OK

.section .bss
        .balign 2
# [6] i,p,q,w:integer;
        .globl U_P$LED_I
        .type U_P$LED_I,%object
        .size U_P$LED_I,2
U_P$LED_I:
        .zero 2

If i compile to embedded

.section .bss.n_u_p$led_i
        .balign 2
# [6] i,p,q,w:integer;
        .globl U_P$LED_I
        .size U_P$LED_I,2
U_P$LED_I:
        .zero 2

the assembler dos not give the same obj output from the 2 files
When assembling the embedded version it looks like everything is placed at 
address 0

Is this an compiler error when compiling to the embedded platform.

Carsten

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to