🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13368

multiple SEGMENTS, i need to split up my code

#13368
From: Charles I. Ganimian Jr.
Date: Fri, 09 Dec 1988 22:10
24 lines
1296 bytes
Hello,

	I have a windows question for those of you who have worked
	with multiple SEGMENTS in a small model program.
	I need to split my app up into different segments but
	the C runtime functions used in the code cause linker 
	errors (L2003 intersegment self-relative fixup) how can 
	I resolve these	errors so my app can be split up into 
	different segments.  I have many modules which are already
	locically grouped with their support functions so having
	some far functions is not a problem.  I just don't want the
	overhead of a medium model program and I don't have any
	space left in the _TEXT (default code) segment.

	Any hints would be helpful, I have already put modules
	that don't have this prob in separate segments with no
	trouble and I need to split up the app up even more.


					thanks

					charlie g.

	BTW, I am working with SDK 2.1 & C 5.1 if it matters...
Technical Details
Message-ID: <14349@genrad.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!genrad!cig

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!genrad!cig
From: cig@genrad.UUCP (Charles I. Ganimian Jr.)
Newsgroups: comp.windows.ms
Subject: multiple SEGMENTS, i need to split up my code
Keywords: segments
Message-ID: <14349@genrad.UUCP>
Date: 9 Dec 88 22:10:34 GMT
Organization: GenRad, Inc., Concord, Mass.
Lines: 23