[comp.lang.c] More MSC 5.0 Segment Woes

norm@cfctech.UUCP (Norm Meluch) (10/02/89)

	Ok.  So DOS doesn't allow a segement > 64k.
        I can live with that.

	Here's the problem (still).
	I am using MSC 5.0 with DOS 3.3 and trying to get the compiler
to create program segments with non-default names.  This allows the segment
(CONST) that was becoming > 64k, to be broken apart.
	To do this I am using

	cl /c /AL /Au /ND foo .....
	link ......

along with various other compiler options.  Now the map file produced by the
linker indeed indicates that the program segment names have changed :-).
	However, when I go to run the compiled and linked program the whole
machine just locks up. :-(
	Is there some other magic I need to perform to get the program to deal
with customized segmentation?  Are the /Au /ND foo options not supported by 
the overlay linker?  Is this just another "known bug fixed in the next release".
	I can't even get
		main()
		{
			printf("hello world");
		}
to work!  

						-Norm

|~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Norman J. Meluch ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Mail:{sharkey|mailrus}!cfctech!norm  Fax:(313)948-4975  Voice:(313)948-4809 |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Note: The opinions expressed here are in no way to be confused with valid   |
|_______ideas or corporate policy.____________________________________________|