Hartmut Birr wrote: > It seems that GCC and MSVC does handle imported data symbols > different. In MSVC is an imported data symbol a pointer to the > variable and in GCC the value of the variable. Perhaps GCC (LD) uses the same logic in Windows for DLLs it uses in Unix for shared objects (.so). Emanuele