Date: Thu, 15 Jan 1998 13:06:34 +0200 (IST) From: Eli Zaretskii To: andrewc AT rosemail DOT rose DOT hp DOT com cc: djgpp-workers AT delorie DOT com Subject: Re: -g problem In-Reply-To: <199801142256.AA235658603@typhoon.rose.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 14 Jan 1998, Andrew Crabtree wrote: > Could somebody compile the following code with and without the > -g option and see if bombs out when -g is specified. On my compiler > no -g, or -gstabs work, but -g gives a duplicate symbol error > from the assembler. What exactly do you mean by ``bombs''? I think the error message about duplicate symbols with -g is because you define functions, not variables. I don't quite understand why did you write e.g. `extern void start() __asm__("start");' and what do you want this to produce, but isn't this what you want: extern unsigned start __asm__("start"); > BTW - Kenner released 2.8.0 for those who have been waiting... Yep, I saw the announcement. The question is: who's gonna work on porting it (and libstdc++ 2.8.0) to DJGPP?