Mail Archives: djgpp/2002/06/01/09:45:48
> From: "deckerben" <deckerben AT freenet DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 1 Jun 2002 14:43:36 +0200
>
> warning: .text: line number overflow: 0x194f9 > 0xffff
>
> I haven't noticed a big problem in the executable as a result of the
> warning.
In general, you can disregard this warning. It means that the number
of source lines for which the linker needs to put debug info into the
executable is more than the COFF debug info format allows (whcih is
64K lines total). What the linker does is omit the debug info for
the lines beyond the first 64K.
This only affects debugging, it has no effect on the produced code.
To be able to debug such large programs, compile with -gstabs+ or -ggdb3
instead of a mere -g. This requests stabs or DWARF2 debug info
format, which isn't limited to 64K lines in a program.
> But the problem is a little more serious with dxe2gen, which will
> not create the library AT ALL when this error occurs.
Try compiling without -g, and I think the problem might go away.
- Raw text -