我装好了TDM-GCC-64,但是使用Windows Power Shell编译桌面的一个文件的时候 g++ 却提示(翻译后的)“push”的指令后缀无效,以下是我在Windows Power Shell里面的的(yyy是我的用户名):
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\Users\yyy> cd desktop
PS C:\Users\yyy\desktop> g++ Default.cpp -o default
C:\Users\yyy\AppData\Local\Temp\ccsIrJj1.s: Assembler messages:
C:\Users\yyy\AppData\Local\Temp\ccsIrJj1.s:153: Error: invalid instruction suffix for `push'
C:\Users\yyy\AppData\Local\Temp\ccsIrJj1.s:171: Error: invalid instruction suffix for `push'
C:\Users\yyy\AppData\Local\Temp\ccsIrJj1.s:189: Error: invalid instruction suffix for `push'
C:\Users\yyy\AppData\Local\Temp\ccsIrJj1.s:215: Error: invalid instruction suffix for `push'
PS C:\Users\yyy\desktop>