|
环境是grub4dos_dev_2014-06-25 代码是版本库最新的
gcc version 4.8.0 20130127 (experimental) [trunk revision 195497] (Debian 4.8-20130127-1)
准备自己写个命令,先尝试编译已有的
root@grub4dos_dev:/mnt/cofs/grub4dos_src/grubutils/g4dext# sh build
: Input/output error
: Input/output error
build: line 24: syntax error: unexpected word (expecting "do")
然后尝试按照源代码里面的编译命令编译
dev@grub4dos_dev:/mnt/cofs/grub4dos_src/grubutils/g4dext$ gcc -Wl,--build-id=non
e -DASM_BUILD_DATE="\"20160710"\" -I ../include -m32 -mno-sse -nostdlib -fno-zer
o-initialized-in-bss -fno-function-cse -fno-jump-tables -Wl,-N -fPIE hotkey.c -o
hotkey.o
/tmp/cch3PVfu.s: Assembler messages:
/tmp/cch3PVfu.s:436: Error: junk at end of line, first unrecognized character is
`2'
是不是GCC版本要更新?? |
|