GDC 11.3/12.1 -m32: Illegal instruction (core dumped) [SSE, Pentium III]

kdevel kdevel at vogtner.de
Fri May 13 15:52:38 UTC 2022


On Friday, 13 May 2022 at 05:56:23 UTC, kdevel wrote:
> [...]
>
> I am rebuilding GCC with --with-arch_32=pentium3 now [3].

The option is spelled

    --with-arch-32=pentium3

and the build compiler can be checked with

    $ gcc -m64 -Q --help=target |egrep -i 'math|arch'
      -march=                     		x86-64     <---
      -mfancy-math-387            		[enabled]
      -mfpmath=                   		sse
      -mno-fancy-math-387         		[disabled]
      Valid arguments to -mfpmath=:
      Known valid arguments for -march= option:

and

    $ gcc -m32 -Q --help=target |egrep -i 'math|arch'
      -march=                     		pentium3   <-----
      -mfancy-math-387            		[enabled]
      -mfpmath=                   		387
      -mno-fancy-math-387         		[disabled]
      Valid arguments to -mfpmath=:
      Known valid arguments for -march= option:




More information about the Digitalmars-d mailing list