Hello,
I wanted to share a section of a DLL, this can be done using Visual C++ by adding
#pragma comment(linker, "/section:.SHARE, rws")
My question is, how can this be done using codeblocks.
Regards
Please read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
Then read the docs of the compiler/linker you're using.
You'll find the answer to your specific problem by searching the internet for "gcc shared section".