Hi,
could someone give me a hint how to compile a single-file c-source
external ("externals/vbap/rvbap.c" to be honest) on Debian for
Windows? I installed the three mingw32 packages, but I'm not clear
how to actually use these to compile rvbap.dll
Maybe someone has a Makefile-snippet somewhere and could post it.
By trial and error I managed to compile the *.o file using:
$ i586-mingw32msvc-cc -DPD -O3 -funroll-loops -fomit-frame-pointer
-ICVS/pd/src -W -ggdb -D_WINDOWS -fPIC -o "rvbap.o" -c "rvbap.c"
But then linking fails:
$ i586-mingw32msvc-cc -Wl,-export_dynamic -shared -o "rvbap.dll" "rvbap.o" \
-lm -lc
/usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
libc6-dev is installed, am I missing something else?
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__