xboot$ x86_64-linux-gnu-gcc -x assembler-with-cpp -m64 -mmmx -msse -msse2 -mssse3 -mfpmath=sse -g -ggdb -Wall -O2 -ffreestanding -std=gnu99 -c src/arch/x64/lib/memcpy.S
xboot$
xboot$
xboot$
xboot$ x86_64-w64-mingw32-gcc -x assembler-with-cpp -m64 -mmmx -msse -msse2 -mssse3 -mfpmath=sse -g -ggdb -Wall -O2 -ffreestanding -std=gnu99 -c src/arch/x64/lib/memcpy.S
src/arch/x64/lib/memcpy.S: Assembler messages:
src/arch/x64/lib/memcpy.S:2: Warning: .type pseudo-op used outside of .def/.endef ignored.
src/arch/x64/lib/memcpy.S:2: Error: junk at end of line, first unrecognized character is `m'
请问有大神知道原因吗?
我按照网上说法 更新 binutils也没X用.
apt-get install binutils-mingw-w64
离线
终于搞定了!
https://github.com/xboot/xboot/commits/master/src/arch/x64/lib/memcpy.S
突然发现是我自己没有更新代码, 捂脸.gif
[x64]modify some x64 asm files
jianjian jiang
jianjian jiang committed 2 days ago
难道是2天前xboot突然发现代码在mingw编译通不过?
离线