Date: Thu, 14 Jun 2001 11:01:24 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Chris Wilkinson 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: 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.