On Wed, Mar 04, 2009 at 12:18:09AM +0100, Angelo M wrote: > Hello, > > I am trying to use mingw32-configure on Fedora 10. > I installed everything from the temporary repo. > On "make" I get: > > In file included from /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c > ++/bits/postypes.h:47, > from /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c > ++/iosfwd:47, > from /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c > ++/ios:44, > from /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c > ++/ostream:45, > from /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c > ++/iostream:45, > from ../include/basix/fast_new.hpp:17, > /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c++/cwchar:164: error: > '::swprintf' has not been declared > /usr/lib/gcc/i686-pc-mingw32/4.3.2/include/c++/cwchar:171: error: > '::vswprintf' has not been declared > > I am new to cross-compiling and some help would be valuable to me..
This isn't so much a cross-compilation question. I think the problem is either your program doesn't include <wchar.h>, or you're compiling the program with "i686-pc-mingw32-gcc -ansi" (ie. strict ANSI mode). Also note although you say you're running "Fedora 10", if you are using the Rawhide packages from the temporary yum repository then you may be inadvertantly using GCC 4.4. This new version of GCC is very strict about missing includes (much more so than GCC 4.3). Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ _______________________________________________ fedora-mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
