This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ebcdic support for binutils...


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


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