Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!edsews!rphroy!cfctech!norm From: norm@cfctech.UUCP (Norm Meluch) Newsgroups: comp.lang.c Subject: More MSC 5.0 Segment Woes Summary: what options to use? Keywords: Custom Segment names Message-ID: <16494@cfctech.UUCP> Date: 2 Oct 89 14:48:15 GMT Reply-To: norm@cfctech.UUCP (Norm Meluch) Followup-To: comp.lang.c / e-mail Distribution: all Organization: Chrysler Financial Corp., Southfield, MI Lines: 34 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.____________________________________________|