🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.msdos.programmer
Article #13

Re: HELP needed: segment _TEXT exceeds 64 K

#13
From: Hans-Bernhard Broeker
Date: Fri, 22 Mar 1996 15:49
24 lines
1559 bytes
plugge@biv6.sr.fh-mannheim.de () writes:


>Hi, all!
>I am currently writing a programm to convert an IDL (a programming
>language for image processing) source code to a LaTeX file. It runs
>on different platforms (Atari, (formerly) DOS, Linux/Unix and VMS);
>main development is under VMS. Since some days (and major changes in
>the source structure) the dos port is broken.

>Compilation is ok, but linking fails with the error "segment _TEXT
>exceeds 64 K". I tried to remove (for DOS) some parts of the code,
>but the errror remains. Is there any chance to link the program or
>should I abandon the DOS port?

Once more, someone has been been hit by the 64KB Wall of 16-Bit
Messy-DOS compilers.  To fix that, use a different, i.e.  a 32-Bit
flat-memory model compiler (judging from the other platforms in use, the
DOS port of gcc, called DJGPP, is what you're looking for).  All other
possibilities would break the code for other platforms, or at least
bring that danger with them. 


Hans-Bernhard Broeker (Aachen, Germany)
Technical Details
Message-ID: <Broeker.827509764@axp03>
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!axp03!Broeker
References: <1996Mar22.075920.27331@roxi.rz.fht-mannheim.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.rwth-aachen.de!axp03!Broeker
From: Broeker@axp03.physik.rwth-aachen.de (Hans-Bernhard Broeker)
Newsgroups: comp.msdos.programmer,alt.msdos.programmer,comp.os.msdos.programmer,de.comp.lang.c,de.comp.os.msdos,
Subject: Re: HELP needed: segment _TEXT exceeds 64 K
Date: 22 Mar 96 15:49:24 GMT
Organization: RWTH -Aachen / Rechnerbetrieb Informatik
Message-ID: <Broeker.827509764@axp03>
References: <1996Mar22.075920.27331@roxi.rz.fht-mannheim.de>
X-Newsreader: NN version 6.5.0 #6 (NOV)