If you would search the forum or google, you would surely have found the answer.
If not and you provide more or less no information, you don't need to wonder that you get answers llike Tim's.
If you don't know how to search or how to post, you are in the wrong forum here.
It's really annoying to answer all this stupid questions, that show that the poster does nothing or almost nothing to slove the problem himself, especially if the same problem was answered tons of time before.
Be aware, that we (the moderators) have to read every post in this forum and that we do this in our sparetime.
You can be glad if such silly posts don't get locked or silently deleted.
By the way:
please don't post the same question/problem in several threads.
EDIT:
I just tested C::B 8.02 release with MinGW bundled as fresh install (no C::B conf-files left):
at first start it autodetects the correct compiler-path (the one below C::B's executable folder), so no cause to blame C::B for not using the correct compiler-path.
Maybe an older install of MinGW was found at first start, that was removed later, or you first installed C::B without MinGW and you installed MinGW after C::B has written the wrong path in it's conf-file.