In MS VC you can declare to preprocesor how to declare global data:
#pragma data_seg(".gdata")
int i=0;
int z=1;
...
#pragma data_seg()
and then linking with /Section:.gata,WRS
I dont know how to do this on Borland. I saw the linker has the option, but dont know the commands in the code (the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.