From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem compiling gcc Date: Wed, 11 Dec 1996 10:12:03 +0100 Organization: TU Chemnitz-Zwickau Lines: 29 Message-ID: <32AE7AE3.3665@Mathematik.tu-chemnitz.de> References: <58k7gk$qiq AT utcnews DOT utc DOT fr> NNTP-Posting-Host: panic.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Fabrice Premel DJ-Gateway: from newsgroup comp.os.msdos.djgpp Fabrice Premel wrote: > > saying : ld.exe error overflow line number 0x1xxxx of 0xffff > (can't remember what were xxxx). > What's wrong ? I assume, that you mean the gcc sources, which come with DJGPP. Because I have them not here now I cannot say absolutely, but I think, the problem is, that you are compiling the gcc sources with the '-g' switch (debugging information) and here comes the limitation of the COFF file format (not of DJGPP, but since DJGPP uses that format you will have it too). In COFF executables the maximum count of linenumber entries is limited to 0xffff (65535) and (we had this problem still some times ago) the resulting exe's when compiling gcc will have more than that magic number of line numbers. Solution: Try to compile some files (or all), for which you don't need debugging information without '-g'. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************