User forums => Using Code::Blocks => Topic started by: e19293001 on August 18, 2010, 05:59:15 am
Title: sharing a section in a DLL
Post by: e19293001 on August 18, 2010, 05:59:15 am
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")
My question is, how can this be done using codeblocks.
Regards
Title: Re: sharing a section in a DLL
Post by: oBFusCATed on August 18, 2010, 12:01:37 pm
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.
Title: Re: sharing a section in a DLL
Post by: thomas on August 18, 2010, 12:12:23 pm
You'll find the answer to your specific problem by searching the internet for "gcc shared section".