A tricky problem

Tadeus Prastowo tadeus.prastowo@unitn.it
Wed May 2 11:03:00 GMT 2018


Hi,

Why don't you use the command-line option `-masm=intel' instead?

--
Best regards,
Tadeus


On Wed, May 2, 2018 at 12:47 PM, yiliang chen <chenyiliangex@gmail.com> wrote:
> hi, When I compile Gcc with MSYS2 on Windows.I have encountered a thorny
> issue.
>
> In order to output the Intel assembly file by default, I modified the
> gcc/config/i386/i386.opt file as follows
>
> masm=
> Target RejectNegative Joined Enum(asm_dialect) Var(ix86_asm_dialect)
> Init(ASM_INTEL)
> Use given assembler dialect.
>
> however, An error occurred when compiling to
> libgcc/config/i386/sfp-exceptions.c
> file, it tell me :
>
> C:\MSYS\MSYS32\tmp\cctIKXUx.s: Assembler messages:
> C:\MSYS\MSYS32\tmp\cctIKXUx.s:69: Error: no such instruction: `fdivs DWORD
> PTR [esp]'
> C:\MSYS\MSYS32\tmp\cctIKXUx.s:135: Error: no such instruction: `fdivs DWORD
> PTR [esp]'
>
> I checked Intel's developer's manual,I can't find a description of this
> directive. So I want to know what's going on.



More information about the Gcc-help mailing list