On Thu, Sep 22, 2016 at 05:35:22PM +1000, Paul Edwards wrote: > GCC 3.4.6 natively handles different character > sets for source and target. It actually works > fine, writing source code in ASCII targeting > an EBCDIC destination. > > However, __asm() doesn't seem to be working. > As seen below, it is generating EBCDIC data > in the ASCII assembler output. Those funny > characters are in fact the EBCDIC code for > "ABC" and "DEF". > > Anyone know how to fix this?
Does it work better with a GCC version that is less than ten years old? Segher