When I compile the same program with arm-mingw32ce-g++ or with
i386-mingw32ce-g++ , the results are different.

pavilion: {124} i386-mingw32ce-g++ -g -D_WIN32_IE=0x0400
-D_WIN32_WCE=0x0400 -o hello.exe hello.C
Info: resolving std::cout  by linking to __imp___ZSt4cout (auto-import)
Info: resolving std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*) by linking to
__imp___ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
(auto-import)
Info: resolving std::ios_base::Init::Init() by linking to
__imp___ZNSt8ios_base4InitC1Ev (auto-import)
Info: resolving std::ios_base::Init::~Init() by linking to
__imp___ZNSt8ios_base4InitD1Ev (auto-import)
/opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/../../../../i386-mingw32ce/bin/ld:
 warning: auto-importing has been activated without --enable-auto-import 
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
pavilion: {125} arm-mingw32ce-g++ -g -D_WIN32_IE=0x0400
-D_WIN32_WCE=0x0400 -o hello.exe hello.C
Info: resolving std::cout by linking to __imp__ZSt4cout (auto-import)
/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/ld: 
warning: auto-importing has been activated without --enable-auto-import 
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
pavilion: {126} 

The std::ios_base::Init::Init() is the constructor that crashes the
application (but only on i386).

What could explain the difference between ARM and i386 ?

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to