From: XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia) Newsgroups: comp.os.msdos.djgpp Subject: Re: Failed compilation of GCC 2.8.1 Date: Tue, 11 May 1999 11:43:45 GMT Organization: Telefonica Transmision de Datos Lines: 20 Message-ID: <373b164b.4977938@noticias.iies.es> References: NNTP-Posting-Host: iies223.iies.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Forte Agent 1.5/32.451 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com El día Tue, 11 May 1999 09:09:56 +0300 (IDT), Eli Zaretskii escribió: >You are hitting the limitation of the COFF object file format: the >total number of source lines in a program must be less than 65535, >otherwise the linker cannot write the debug info. The usual work- >around is to add `CFLAGS=-O2' to the Make command lines you are >invoking during the build (you could also set CFLAGS in the >environment to get the same effect). This value of CFLAGS prevents >gcc from putting debug info in the first place, and also makes the >code smaller and faster due to optimizations. I read somewhere that with gcc you can debug optimized programs, so I think -O2 shouldn't strip debug info. Regards, GUILLE ---- Guillermo Rodriguez Garcia XXguille AT XXiies DOT XXes (ya sabes :-)