BCC32 -z option

morulis

Member
Mar 5, 2005
89
0
0
Hello,

I have to support legacy code and to use the bcc32 compiler.

This compiler has a -z command line option but I don't know what this option does.

Would you please tell me?

Thanks
 

morulis

Member
Mar 5, 2005
89
0
0
Originally posted by: Markbnj
See this page:

http://dn.codegear.com/article/20997

Looks like it is used to set the segment names.

Thanks for your answer. But what this means? "Segment names". I know that the x86 architecture splits the memory to code segment and data segment. Does this -z option has to do with something like giving a different name to these segments?

Regards
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
It's been awhile, but I believe it means the segments within the program image. i.e. .data and .code. It's unusual to have to name them explicitly.