delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/11/10:29:48

Date: Tue, 11 May 1999 16:29:21 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199905111429.QAA30060@acp3bf.physik.rwth-aachen.de>
To: Daniel Barker <sokal AT holyrood DOT ed DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Failed compilation of GCC 2.8.1
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <Pine DOT GSO DOT 3 DOT 95 DOT 990510182008 DOT 7991A-100000 AT holyrood DOT ed DOT ac DOT uk> you wrote:
> I have been trying to compile GCC 2.8.1 from the DJGPP source
> distribution, because I would like to use GCOV and this is not part of the
> binary distribution. 
[...]
> If there is a good reason why GCOV is left out of the binary distribution,
> perhaps because it does not work with DJGPP, I would be grateful for any
> information on that as well. Thanks.

I've played around with all three types of counting statistics in gcc
(-fprofile-arcs, -ax and -a style), recently. None of them work
out-of-the box in gcc-2.8.1 for DJGPP. I have patches to make '-a'
work nicely, including using the output counts in a 'gprof --line'
analysis. 

I may upload the instructions and patches needed somewhere, or send
them to interested individuals by email. They're not really in a state
ready to be published, yet, so I'm hesitant to just post them here.

[...]
> c:/local/djgpp/bin/ld.exe: cc1: warning: .text: line number overflow:
> 0x13b75 > 0xffff

You've hit the COFF line number table limit (no more than 64K active
lines per program). Modify the CFLAGS to disable debugging, or use to
'stabs' debugging info (-gstabs).

The remaining error goes away closing the DOS box and restarting
'make' in a new DOS box. The underlying problem is said to be a Win95
DPMI server bug.

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019