Permanent solution on windows 10
Find
" "installation directory" \ Xilinx \ 14.x \ ISE_DS \ ISE \ gnu \ MinGW \ 5.0.0 \
nt \
libexec \ gcc \ mingw32 \ 3.4.2 \ collect2.exe"
delete the file "collect2.exe"
and delete it and re-run the emulator, the problem resolved! !
Just delete this or cut and paste somewhere as else, now re-run the code or test
bench it will work.
Please accept the solution if find working
No need to update any minGW