ebcdic support for binutils...

esp5@rama.comp.pge.com esp5@rama.comp.pge.com
Fri Dec 7 16:18:00 GMT 2001
hey,

I'm trying to compile mysql on the OS/390 open edition platform -  (IBM's unix
clone in EBCDIC).. And:

to compile mysql you need libtool.
to compile libtool you need ld - inside of binutils.
to compile ld, it seem that you need ascii.o

In particular, in libiberty/safe-ctype.c:

/* Are we ASCII? */
#if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \
  && 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21 \
    && EOF == -1

...

#else
 #error "Unsupported host character set"
#endif /* not ASCII */


So. I was wondering if there was a workaround for this, or if not, how I could 
get the EBCDIC equivalent for what is in this file, and put it in the #if 
clause...

Ed



More information about the Binutils mailing list