This is the mail archive of the
mailing list for the GCC project.
Re: gcc 3.4.6 asm charset error
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Paul Edwards <mutazilah at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Sep 2016 15:21:30 -0500
- Subject: Re: gcc 3.4.6 asm charset error
- Authentication-results: sourceware.org; auth=none
- References: <CFC5C6349D344D5798D28DFA7917F754@PaulDell>
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?