This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: gcc 3.4.6 asm charset error


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


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