delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/01/09:43:18

Date: Sun, 1 Jun 1997 16:40:20 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andrejs Vanags <andrejs AT crl DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Help! cant compile a large program on gcc
In-Reply-To: <33902720.41B7@crl.com>
Message-ID: <Pine.SUN.3.91.970601163949.24407C-100000@is>
MIME-Version: 1.0

On Sat, 31 May 1997, Andrejs Vanags wrote:

> GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1.
>  c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccdaaaaa c:/djgpp/tmp\cccaaaaa
> BFD: c:/djgpp/tmp\ccdaaaaa: .text: reloc overflow: 0x13607 > 0xffff

This is a limitation of COFF file format: the debug info cannot refer
to more than 64K (FFFF in hex) source lines.  You need to remove the
-g switch and add -O2 switch to the gcc command line, then the problem
should go away.

- Raw text -


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