Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!cs.umn.edu!meuer From: meuer@cs.umn.edu (Mark V. Meuer) Newsgroups: comp.lang.c++ Subject: Re: HELP!! (TC++) Segment _TEXT exceeds 64k ??? Message-ID: <1991Apr6.201930.7140@cs.umn.edu> Date: 6 Apr 91 20:19:30 GMT Article-I.D.: cs.1991Apr6.201930.7140 References: <3249@beguine.UUCP> Distribution: na Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 20 In <3249@beguine.UUCP> jfm@med.unc.edu (John F. Miller) writes: >In trying to link a Turbo C++ program totalling ~5200 lines, the linker >complains "Linker error: Segment _TEXT exceeds 64k". Could someone >please give me an idea how to correct this? Each module of the program >compiles on its own with no difficulty, and the whole thing was working >until I made a few modifications (yes, I'm looking through my mods to >see if I did something funky, but I haven't found anything yet). My first suggestion to you would be to check your memory model. You probably need to recompile everything with either the "large" or "huge" memory model. -mark -- Mark Meuer <>< | The Geometry Center | meuer@geom.umn.edu Observing the first baloon ascent in Paris, [Ben] Franklin heard a scoffer ask, "What good is it?" He spoke for a generation of scientists in his retort, "What good is a newly born infant?" -- John F. Kasson