Hello everyone,

I'm trying to compile a wxWidgets application on Vista, but every time I try to link the program, I get the same error:

collect2: cannot find `ld'

The ld program is inside MinGW's bin directory, which is set on PATH. I always get to run the ld program if I try it on the console. I have MSYS installed, and its bin directory is on PATH too. I've tried to add MinGW's bin directory to the search path of g++, but the result was the same.

Does anyone know a solution or at least a workaround for this problem?