CODE
$ make -f Makefile.mingw
rm -f sysdep.h
echo '#define DSEMU_VERSION_STR "DSemu-ng-20060103"' >> sysdep.h
gcc -o endtest endtest.c
if [ -z `./endtest` ]; then echo "#define BOK_BIG_ENDIAN 0" >> sysdep.h; else ec
ho "#define BOK_BIG_ENDIAN 1" >> sysdep.h; fi
rm -f endtest
if [ `fltk-config --version 2> /dev/null` > "0" ]; then touch fltk-check; else rm -f fltk-check; fi
g++ -O2 -Wall -pedantic -ansi -fPIC -c -DARM7TDMI_X86 -o dsemu.o dsemu.cpp
dsemu.cpp:1: warning: -fPIC ignored for target (all code is position independent)
In file included from dsemu.cpp:8:
log.h: In static member function `static const char* Logger::logname()':
log.h:96: error: `snprintf' undeclared (first use this function)
log.h:96: error: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [dsemu.o] Error 1
rm -f sysdep.h
echo '#define DSEMU_VERSION_STR "DSemu-ng-20060103"' >> sysdep.h
gcc -o endtest endtest.c
if [ -z `./endtest` ]; then echo "#define BOK_BIG_ENDIAN 0" >> sysdep.h; else ec
ho "#define BOK_BIG_ENDIAN 1" >> sysdep.h; fi
rm -f endtest
if [ `fltk-config --version 2> /dev/null` > "0" ]; then touch fltk-check; else rm -f fltk-check; fi
g++ -O2 -Wall -pedantic -ansi -fPIC -c -DARM7TDMI_X86 -o dsemu.o dsemu.cpp
dsemu.cpp:1: warning: -fPIC ignored for target (all code is position independent)
In file included from dsemu.cpp:8:
log.h: In static member function `static const char* Logger::logname()':
log.h:96: error: `snprintf' undeclared (first use this function)
log.h:96: error: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [dsemu.o] Error 1
By the way, this is with the mingw Makefile. I've tried all of 'em, and none work, but this one was the one I thought I should be using.