mingw32-make -f makefile.mingw
Here is cleanup error:-
... txdb.cpp
g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -o vcoind.exe -L"C:/bitcoin-0.8.6/src/leveldb" -L"c:/deps/boost_1_55_0/stage/lib" -L"c:/deps/db-4.8.30.NC/build_unix" -L"c:/deps/openssl-1.0.1e" leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/checkpointsync.o obj/txdb.o -l leveldb -l memenv -l boost_system-mgw48-mt-s-1_55 -l boost_filesystem-mgw48-mt-s-1_55 -l boost_program_options-mgw48-mt-s-1_55 -l boost_thread-mgw48-mt-s-1_55 -l boost_chrono-mgw48-mt-s-1_55 -l db_cxx -l ssl -l crypto -l mingwthrd -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi
makefile.mingw:138: recipe for target 'bitcoind.exe' failed
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: reopening bitcoind.exe: Permission denied
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: final link failed: Permission denied
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [bitcoind.exe] Error 1
On that last long line I see it making vcoind.exe? Then the batch file looks for bitcoind.exe? So one or the other (or both) are wrong?