To be more specific, the issue happens only with OpenCL tests/source... I was able to cross-compile my regular C/C++ source.
Any one experimented with Cross compilation for OpenCL tests? Does it work.
Mine is Ubuntu 14.04, 64bit OS
I've white-listed you, so you should be able to directly post in the relevant dev forum. As this post seems relevant to the OpenCL forum, I'm moving it there.
Please you with it? Sure I can try
I do not have any such mingw experience. But I'm good with Linux. I gather you try to build windows binaries in an Ubuntu 14.04 box.
Which SDK are you using and where is it located? Link against that with <-L/opt/windows/SDK...> in your linking.
BTW I can't find any "tests" directory in the SDK. Do you mean "samples"?