C++ on arm/aout generates unhelpful .comm asm directive
Mike Stump
mrs@wrs.com
Wed Jun 30 23:07:00 GMT 1999
> Date: Tue, 29 Jun 1999 18:26:16 +0100
> From: Luke Diamand <lgd@virata.com>
> To: egcs-bugs@egcs.cygnus.com
> I find g++ generates assembler code with a new .comm directive in it
> [ ... ] sadly the particular assembler we are using (not gnu-as)
> does not understand .comm.
> Any ideas as to where to go from here?
Well, you say you have an incomplete assembler, and you know about GNU
as. Well, you could dump the incomplete assembler, and just use GNU
as. This is the best long term strategy.
As a work around, you might be able to use -fno-common, -fno-rtti and
get it to work.
This isn't a bug in the tools, but rather a bug in your assembler.
More information about the Gcc-bugs
mailing list