Thanks CH, I kind of managed to (eventually) work that out (hence my edit) although I didn't know about the command-line options being passed to the linker....

I'll have a look at the docs, but sometimes it's difficult to know if it's a Code::Blocks issue, a compiler (MinGW) issue, a basic C++ issue or, with my main app, a wxWidgets issue!!!!

Once I get my head around this stuff, I'm sure I'll be fine (java took a few weeks too ) but at the moment........

Cheers,

Paul