Hello,
I ported Code::Blocks to CYGWIN.
It required few simple changes to make it working.
I attached my patch created from the latest sources on the repository at the time of writing.
src/include/prep.hAdded
platform_cygwin to the list of available platforms.
src/plugins/xpmanifest/windowsxplooknfeel.hDescription of the issue here:
https://sourceforge.net/p/codeblocks/tickets/1191/src/sdk/Makefile.amDescription of the issue here:
https://sourceforge.net/p/codeblocks/tickets/1190/src/sdk/configmanager.cpp
when
platform::cygwin is true, the name of the file is
cygcompiler.dllsrc/sdk/pluginmanager.cppThe DLLs created by CYGWIN start with the
cyg prefix in their name.
The change adds
RemoveLibraryPrefix() function to implement this and simplify the whole code.
Then, it also adds
platform::cygwin to
ScanForPlugins() for returning the right extension
*.dll for plugins, otherwise it will use
*.so which is wrong.
After applying the changes, you can see the result into the attached image.
I hope that you will find this report useful.
Sincerely,
Carlo Bramini.