problem using 4.2.1-sjlj MingW cross compiler on Debian AMD64:functions not declared
I have a problem with a 4.2.1-sjlj Ming cross compiler on Debian (both
with my own compiled and the Debian version)
Compiling any C++ source using a C++ compiler header included (e.g.
cstdlib) result in the following kind of errors:
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:164: error: '::lldiv_t' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:170: error: '::_Exit' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:177: error: '::llabs' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:179: error: 'lldiv_t' does not name a type
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:183: error: '::lldiv' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:198: error: '::strtof' has not been declared
Using stdlib.h with the same source compiles OK.
I have the impression that it has something to do with C99 support
(because alle errors are within some GCC macros about C99) but I don't
have any idea how to solve it. Is there anyone with any idea where to
look or what to try (e.g. maybe I should use some configure options for
either the build of the compiler or the build of my own executable)?
tel: 024-3888063 / 06-51855277
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
|All times are GMT. The time now is 08:34 AM.|
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.