Date: Thu, 14 Jun 2001 11:01:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Chris Wilkinson <chrisw AT wam DOT umd DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Link errors with Debug switch on
In-Reply-To: <9g8n6t$3ps$1@hecate.umd.edu>
Message-ID: <Pine.SUN.3.91.1010614110108.972M-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk


On Wed, 13 Jun 2001, Chris Wilkinson wrote:

> When I link some objects with the debug (-g) switch on, then gcc reports
> some undefined references found and the link fails. If the debug switch is
> off then no errors are given and the final .exe is created.

Please post the exact command line you used and the error messages
printed by the linker when you use -g.