Here is the patch. Hopefully this will fix the issue. Please test it and post your result. :)
Index: plugins/compilergcc/compilerOW.cpp
===================================================================
--- plugins/compilergcc/compilerOW.cpp (revision 3684)
+++ plugins/compilergcc/compilerOW.cpp (working copy)
@@ -329,7 +329,7 @@
m_Commands[(int)ctLinkDynamicCmd]
= wxT("$linker option quiet $link_options $libdirs name $exe_output $libs $link_objects");
m_Commands[(int)ctLinkStaticCmd]
- = wxT("$lib_linker option quiet $static_output $link_objects");
+ = wxT("$lib_linker -q $static_output $link_objects");
m_Commands[(int)ctLinkNativeCmd] = m_Commands[(int)ctLinkConsoleExeCmd]; // unsupported currently
LoadDefaultRegExArray();
Index: plugins/compilergcc/directcommands.cpp
===================================================================
--- plugins/compilergcc/directcommands.cpp (revision 3684)
+++ plugins/compilergcc/directcommands.cpp (working copy)
@@ -576,7 +576,7 @@
{
// -----------------------------------------
// Following lines have been modified for OpenWatcom
- if (compiler->GetID().IsSameAs(_T("ow")))
+ if (compiler->GetID().IsSameAs(_T("ow")) && (!compiler->GetPrograms().LIB.IsSameAs(_T("wlib.exe"))))
{
linkfiles << _T("file ") << prependHack << Object << _T(" "); // see QUICK HACK above (prependHack)
FlatLinkFiles << _T("file ") << prependHack << pfd.object_file_flat << _T(" "); // see QUICK HACK above (prependHack)
Regards,
Biplab