News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

sharing a section in a DLL

Started by e19293001, August 18, 2010, 05:59:15 AM

Previous topic - Next topic

e19293001

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

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

thomas

You'll find the answer to your specific problem by searching the internet for "gcc shared section".
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."