This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: `$' in identifiers -vs- PPC Linux


On Aug 30, 2000, Tom Tromey <tromey@cygnus.com> wrote:

Alexandre> I'm bitten by this problem on AIX 4.1, when compiling
Alexandre> libgcj.  It would be nice if g++ could somehow mangle `$'
Alexandre> so as to accept it in source-code (even if with
Alexandre> -fdollars-in-identifiers) even if the assembler can't
Alexandre> accept them directly.

> Yes.  For instance it could mangle them the way that gcj already
> mangles non-ASCII characters that are valid in Java identifiers.

But then, maybe it is GCJ that should be doing that...  What do other
Java ports do to support JNI when their assemblers don't support `$'s?
For example, any idea of what IBM's port of JDK to AIX does?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]