User forums > Using Code::Blocks
sharing a section in a DLL
(1/1)
e19293001:
Hello,
I wanted to share a section of a DLL, this can be done using Visual C++ by adding
--- Code: ---#pragma comment(linker, "/section:.SHARE, rws")
--- End code ---
My question is, how can this be done using codeblocks.
Regards
oBFusCATed:
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.
thomas:
You'll find the answer to your specific problem by searching the internet for "gcc shared section".
Navigation
[0] Message Index
Go to full version