Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>/d use dosseg segment ordering</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/d                      Use DOSSEG segment ordering
---------------------------------------------------------------------------------

 Description:

 The /d option allows you to force DOSSEG segment ordering when linking
 your program.  Since most languages that need DOSSEG segment ordering
 insert a flag in the object modules or libraries that instruct the linker
 to use DOSSEG segment ordering, this option is rarely required.  However,
 it is available for those occasions where explicit DOSSEG segment ordering
 is necessary.


 Technical Note:

 DOSSEG segment ordering structures programs as follows:

   .  All segments with a class name ending in CODE
   .  All other segments that are not of group DGROUP
   .  Segments of group DGROUP

   DGROUP segments are arranged in this order:
   .  All segments of BEGDATA class
   .  All segments not of BEGDATA, BSS, or STACK class
   .  Segments of class BSS
   .  Segments of class STACK

   DOSSEG adds 16 zero-filled bytes to the front of the first segment
   named _TEXT, if one exists.

----------------------------------[ Example ]------------------------------------

 Link SHOWVOL.OBJ using DOSSEG segment ordering.  This will create
 the file SHOWVOL.EXE.

  warplink /d showvol

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson