Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: petetong on April 10, 2012, 10:44:42 am
-
Hi Forum,
does anybody know how to set up OpenWatcom Compiler in CB?
Or how to add a custom Compiler Setup?
I've tried to set up in compiler preferences, but there is only the possibility to copy an existing setup and change some settings.
In the default.conf at ~/.codeblocks/default.conf appears a <PARENT><str><![CDATA[gcc]]</str></PARENT> tag for a copy of GCC. If this Tag is changed to OW like windows the whole menu entry in CB will be dropped.
Is there a possibility to add a complete custom menu entry for a compiler and customize also the flags?
Thanks for help
regards pete
-
The OpenWatcom compiler is directly supported under Windows in recent versions of C::B. As you didn't mention anything about your platform / version there is nothing more I can tell.
-
The OpenWatcom compiler is directly supported under Windows in recent versions of C::B. As you didn't mention anything about your platform / version there is nothing more I can tell.
I tried to setup under Linux, like i mentioned in the subject?!
thanks
-
I tried to setup under Linux, like i mentioned in the subject?!
Then you would need to compile C::B yourself and remove the Windows-only switch from the openwatcom compiler sources.
Note: Currently its windows only, because Linux support is rather "young" in OpenWatcom. However, nobody of us (devs) tested how it works under Linux and surely some compiler flags need to be updated. If you want to take the action the files to look into are:
[C::B_SRC]\plugins\compilergcc\compilerOW*.*