User forums > Using Code::Blocks

Custom Compiler setup on Linux (OpenWatcom)

(1/1)

petetong:
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

MortenMacFly:
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.

petetong:

--- Quote from: MortenMacFly on April 10, 2012, 12:00:44 pm ---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.

--- End quote ---

I tried to setup under Linux, like i mentioned in the subject?!

thanks

MortenMacFly:

--- Quote from: petetong on April 10, 2012, 03:03:50 pm ---I tried to setup under Linux, like i mentioned in the subject?!

--- End quote ---
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*.*

Navigation

[0] Message Index

Go to full version