Aftering upgrading my MinGW GCC from 4.7.2 to 4.8.1 using
mingw-get upgrade gcc
mingw-get upgrade g++
a program that compiled and assembled perfectly with
4.7.2 gave about 40 assembler errors of the following
form with 4.8.1:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cc8M2n8y.s:125: Error: expecting string instruction after `rep'
Calling
mingw-get upgrade binutils
which upgraded binutils from 2.22 to 2.23, fixed the problem.
This suggests that GCC 4.8.1 should be declared to have a dependency on binutils 2.23 or later.
We need to specify ge binutils-2.23.2.