Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ybx on May 24, 2005, 09:40:44 pm

Title: OpenWatcom compiler support?
Post by: ybx on May 24, 2005, 09:40:44 pm
How to add OpenWatcom C/C++ (www.openwatcom.org) tools to supported ones? OW are rather fast cross-platform C and C++ compilers with smart documentation and features and a separate cool debuger. WxWidgets 6 supports that compiler as well.
Title: OpenWatcom compiler support?
Post by: rickg22 on May 24, 2005, 11:33:06 pm
cool! Where can we get the docs for 'em?
Title: OpenWatcom compiler support?
Post by: Anonymous on May 25, 2005, 03:57:18 pm
http://downloads.openwatcom.org/ftp/open-watcom-win32-1.3.exe

it is Win32 installation (includes full documentation).
Actually you may ask me questions via e-mail.

OpenWatcom is free and open source, linux-support is now under development.
It has MS VC++ utilities clones (like cl.exe nmake etc.) but it's better to use native WCC386, WPP386 compilers or WCL386 compile and link utility (like G++ in GNU C++)...

Debugger support is not needed into the IDE because it has a separate comfortable GUI debugger and as far as I know it's impossible to use it as a service or via pipe etc. lile GDB.

Thanks for your attention! I'd be really happy when Code::Blocks supports OW.
Title: OpenWatcom compiler support?
Post by: rickg22 on May 25, 2005, 06:06:38 pm
Well, I'm not very much into compiler support (Yiannis is the expert), but I'm sure that with a good documentation on each program (compiler, linker, resource compiler, etc)'s command line, we could make good support for them.

Hey, maybe YOU can do it! Codeblocks supports adding *custom* compilers. On the compiler settings, when you select a compiler, there's a button that says "add". You then pick the compiler you believe resembles the most to yours.

Then go to the advanced settings, etc.
Title: OpenWatcom compiler support?
Post by: Anonymous on May 25, 2005, 07:25:17 pm
The thing is that the compiler's WLIB (archive) utility needs a response file contaning the names of the object files to include. And the compilers create *.err files for every source which caused WARNINGs or ERRORs during compilation (however they also display error messages to STDOUT)...

Compiler's WMAKE utility has support for autodependency info placed by the compilers into .obj files...
Title: OpenWatcom compiler support?
Post by: Anonymous on May 25, 2005, 07:27:52 pm
WLIB can also generate import libraries for DLLs...
Title: OpenWatcom compiler support?
Post by: Anonymous on May 27, 2005, 02:04:43 pm
I've managed to make Code::Blocks support open watcom tools. I had to wite a simple utility for building static libraries easyly and added Error and Warning messages parsing expressions.

Code::Blocks is COOOOOOOOOOOOOOOOOL!!!!!!

Although several bugs in the IDE were discovered and submited by me.
Title: OpenWatcom compiler support?
Post by: mandrav on May 27, 2005, 02:10:29 pm
Would you mind enlightening us too so that we can add OpenWatcom in the list of supported compilers?  :lol:

Yiannis.
Title: OpenWatcom compiler support?
Post by: Anonymous on May 27, 2005, 03:28:34 pm
Download and run:

http://ybx.narod.ru/files/misc/cbowsup.exe

It is a self-extracting archive with .txt and .reg files of how to add the OW support.
Title: OpenWatcom compiler support?
Post by: mandrav on May 27, 2005, 04:02:54 pm
Thanks a lot. I will add native support for OpenWatcom now.
You did a great job. Thanks again!

Yiannis.
Title: OpenWatcom compiler support?
Post by: mandrav on May 27, 2005, 04:04:11 pm
Quote
Although several bugs in the IDE were discovered and submited by me.

Thanks, although I took a look and some of them are already fixed in CVS.
Nevertheless you did good submitting them.

Yiannis.
Title: OpenWatcom compiler support?
Post by: Anonymous on May 27, 2005, 04:17:53 pm
I have experienced severe crash bugs when futher experimenting with compiler settings/options (menu "Settings->Compiler". And submitted one more bug report. I suspect there's something wrong in the whole compiler settings storing algorithm.
And I think that the project file must contain not just compiler magic number but the whole name and the ability to import/export compiler settings should be implemented. (now it is just .reg files).
Title: OpenWatcom compiler support?
Post by: Anonymous on May 27, 2005, 04:18:56 pm
And also there's a minor bug/mistype in that .reg files I've published :) Change -D option into -d for DEFINEs
Title: OpenWatcom compiler support?
Post by: Anonymous on June 04, 2005, 09:26:23 am
That link http://ybx.narod.ru/files/misc/cbowsup.exe  is dead any mirrors please ?
Title: OpenWatcom compiler support?
Post by: Yury Benesh (aka ybx) on June 04, 2005, 11:24:29 am
It is not dead, just click the link citated in orange. The russian free hosting service just warns that this is an executable.
Title: OpenWatcom compiler support?
Post by: Anonymous on June 04, 2005, 12:27:19 pm
damn you right , stuped me
Title: Re: OpenWatcom compiler support?
Post by: Lord Yu on October 28, 2005, 08:42:17 am
 8) outstanding  :D
To the Auther of that small cbowsup.exe file I could mirror it off my site, that's if you want :) :D