Mail Archives: djgpp/1996/12/11/18:57:28
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 *
*****************************************************************
- Raw text -