egcs 1.1.2 (egcs-2.91.66) Assembler error(?)

Alexandre Oliva oliva@dcc.unicamp.br
Fri Apr 30 23:15:00 GMT 1999


On Apr  8, 1999, "Aki Niimura" <akineko@worldnet.att.net> wrote:

> I'm getting assembler syntax errors when I complied under Solaris x86 the
> program which is complied w/o errors under Solaris Sparc.
> I know '$' character is causing this. However, I'm wondering why it
> works with Sparc but doesn't work with Solaris x86.
> Because gcc uses an unified assembler.

Not really.  Whether gcc supports `$' or not in identifiers depend on
which assembler you're using.  As Jeff said, GNU as supports `$',
whereas Sun's may not.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists




More information about the Gcc-bugs mailing list