CLFS 编译uclibc出现错误 cc1: error: unrecognized command line option "-m32"
时间:2008-12-25
来源:互联网
根据手册Cross-Compiled Linux From Scratch - Embedded - Version SVN-0.0.1-20081203-arm
CLFS for arm:
编译到uClibc-0.9.30-rc3就出现了如下的错误:
GEN include/bits/sysnum.h
cc1: error: unrecognized command line option "-m32"
cc1: error: unrecognized command line option "-m32"
GEN include/bits/uClibc_config.h
LN include/pthread.h
LN include/semaphore.h
LN include/bits/pthreadtypes.h
LN include/fpu_control.h
LN include/dl-osinfo.h
LN include/hp-timing.h
LN include/bits/atomic.h
LN include/bits/byteswap.h
LN include/bits/cmathcalls.h
LN include/bits/confname.h
LN include/bits/dirent.h
LN include/bits/dlfcn.h
LN include/bits/elfclass.h
LN include/bits/environments.h
LN include/bits/errno.h
LN include/bits/fenvinline.h
LN include/bits/getopt.h
LN include/bits/huge_valf.h
LN include/bits/huge_vall.h
LN include/bits/in.h
LN include/bits/inf.h
LN include/bits/initspin.h
LN include/bits/ioctl-types.h
LN include/bits/ioctls.h
LN include/bits/ipc.h
LN include/bits/kernel_sigaction.h
LN include/bits/local_lim.h
LN include/bits/locale.h
LN include/bits/mathcalls.h
LN include/bits/mathinline.h
LN include/bits/mqueue.h
LN include/bits/msq.h
LN include/bits/nan.h
LN include/bits/netdb.h
LN include/bits/poll.h
LN include/bits/posix1_lim.h
LN include/bits/posix2_lim.h
LN include/bits/posix_opt.h
LN include/bits/resource.h
LN include/bits/sched.h
LN include/bits/select.h
LN include/bits/sem.h
LN include/bits/sigaction.h
LN include/bits/sigcontext.h
LN include/bits/siginfo.h
LN include/bits/signum.h
LN include/bits/sigset.h
LN include/bits/sigstack.h
LN include/bits/sigthread.h
LN include/bits/sockaddr.h
LN include/bits/socket.h
LN include/bits/stat.h
LN include/bits/statfs.h
LN include/bits/statvfs.h
LN include/bits/stdio.h
LN include/bits/stdio_lim.h
LN include/bits/termios.h
LN include/bits/time.h
LN include/bits/types.h
LN include/bits/typesizes.h
LN include/bits/uClibc_clk_tck.h
LN include/bits/uClibc_ctype.h
LN include/bits/uClibc_errno.h
LN include/bits/uClibc_fpmax.h
LN include/bits/uClibc_local_lim.h
LN include/bits/uClibc_locale.h
LN include/bits/uClibc_mutex.h
LN include/bits/uClibc_page.h
LN include/bits/uClibc_pthread.h
LN include/bits/uClibc_stdio.h
LN include/bits/uClibc_touplow.h
LN include/bits/uClibc_uintmaxtostr.h
LN include/bits/uClibc_uwchar.h
LN include/bits/uClibc_va_copy.h
LN include/bits/uio.h
LN include/bits/ustat.h
LN include/bits/utmp.h
LN include/bits/utmpx.h
LN include/bits/utsname.h
LN include/bits/waitflags.h
LN include/bits/waitstatus.h
LN include/bits/wchar.h
LN include/bits/xopen_lim.h
LN include/bits/arm_asm.h
LN include/bits/armsigctx.h
LN include/bits/endian.h
LN include/bits/fcntl.h
LN include/bits/fenv.h
LN include/bits/huge_val.h
LN include/bits/kernel_stat.h
LN include/bits/kernel_types.h
LN include/bits/mathdef.h
LN include/bits/mman.h
LN include/bits/setjmp.h
LN include/bits/shm.h
LN include/bits/sigcontextinfo.h
LN include/bits/stackinfo.h
LN include/bits/syscalls.h
LN include/bits/uClibc_arch_features.h
LN include/bits/wordsize.h
LN include/sys/acct.h
LN include/sys/epoll.h
LN include/sys/inotify.h
LN include/sys/prctl.h
LN include/sys/ptrace.h
LN include/sys/elf.h
LN include/sys/io.h
LN include/sys/procfs.h
LN include/sys/ucontext.h
LN include/sys/user.h
AS lib/crt1.o
cc1: error: unrecognized command line option "-m32"
make: *** [lib/crt1.o] Error 1
-m32是根据ARM板设置的$BUILD值.
ARM板是32位的,但不是MIPS架构.所以我选择了下面的32-Bit All Others 的值:-m32
Table 6.1. List of Build Variables
ABI BUILD=Value
32-Bit MIPS -mabi=32
32-Bit All Others -m32
N32 MIPS -mabi=n32
64-Bit MIPS -mabi=64
64-Bit All Others -m64
请问有谁遇到过这个问题?高手请指点一下.
CLFS for arm:
编译到uClibc-0.9.30-rc3就出现了如下的错误:
GEN include/bits/sysnum.h
cc1: error: unrecognized command line option "-m32"
cc1: error: unrecognized command line option "-m32"
GEN include/bits/uClibc_config.h
LN include/pthread.h
LN include/semaphore.h
LN include/bits/pthreadtypes.h
LN include/fpu_control.h
LN include/dl-osinfo.h
LN include/hp-timing.h
LN include/bits/atomic.h
LN include/bits/byteswap.h
LN include/bits/cmathcalls.h
LN include/bits/confname.h
LN include/bits/dirent.h
LN include/bits/dlfcn.h
LN include/bits/elfclass.h
LN include/bits/environments.h
LN include/bits/errno.h
LN include/bits/fenvinline.h
LN include/bits/getopt.h
LN include/bits/huge_valf.h
LN include/bits/huge_vall.h
LN include/bits/in.h
LN include/bits/inf.h
LN include/bits/initspin.h
LN include/bits/ioctl-types.h
LN include/bits/ioctls.h
LN include/bits/ipc.h
LN include/bits/kernel_sigaction.h
LN include/bits/local_lim.h
LN include/bits/locale.h
LN include/bits/mathcalls.h
LN include/bits/mathinline.h
LN include/bits/mqueue.h
LN include/bits/msq.h
LN include/bits/nan.h
LN include/bits/netdb.h
LN include/bits/poll.h
LN include/bits/posix1_lim.h
LN include/bits/posix2_lim.h
LN include/bits/posix_opt.h
LN include/bits/resource.h
LN include/bits/sched.h
LN include/bits/select.h
LN include/bits/sem.h
LN include/bits/sigaction.h
LN include/bits/sigcontext.h
LN include/bits/siginfo.h
LN include/bits/signum.h
LN include/bits/sigset.h
LN include/bits/sigstack.h
LN include/bits/sigthread.h
LN include/bits/sockaddr.h
LN include/bits/socket.h
LN include/bits/stat.h
LN include/bits/statfs.h
LN include/bits/statvfs.h
LN include/bits/stdio.h
LN include/bits/stdio_lim.h
LN include/bits/termios.h
LN include/bits/time.h
LN include/bits/types.h
LN include/bits/typesizes.h
LN include/bits/uClibc_clk_tck.h
LN include/bits/uClibc_ctype.h
LN include/bits/uClibc_errno.h
LN include/bits/uClibc_fpmax.h
LN include/bits/uClibc_local_lim.h
LN include/bits/uClibc_locale.h
LN include/bits/uClibc_mutex.h
LN include/bits/uClibc_page.h
LN include/bits/uClibc_pthread.h
LN include/bits/uClibc_stdio.h
LN include/bits/uClibc_touplow.h
LN include/bits/uClibc_uintmaxtostr.h
LN include/bits/uClibc_uwchar.h
LN include/bits/uClibc_va_copy.h
LN include/bits/uio.h
LN include/bits/ustat.h
LN include/bits/utmp.h
LN include/bits/utmpx.h
LN include/bits/utsname.h
LN include/bits/waitflags.h
LN include/bits/waitstatus.h
LN include/bits/wchar.h
LN include/bits/xopen_lim.h
LN include/bits/arm_asm.h
LN include/bits/armsigctx.h
LN include/bits/endian.h
LN include/bits/fcntl.h
LN include/bits/fenv.h
LN include/bits/huge_val.h
LN include/bits/kernel_stat.h
LN include/bits/kernel_types.h
LN include/bits/mathdef.h
LN include/bits/mman.h
LN include/bits/setjmp.h
LN include/bits/shm.h
LN include/bits/sigcontextinfo.h
LN include/bits/stackinfo.h
LN include/bits/syscalls.h
LN include/bits/uClibc_arch_features.h
LN include/bits/wordsize.h
LN include/sys/acct.h
LN include/sys/epoll.h
LN include/sys/inotify.h
LN include/sys/prctl.h
LN include/sys/ptrace.h
LN include/sys/elf.h
LN include/sys/io.h
LN include/sys/procfs.h
LN include/sys/ucontext.h
LN include/sys/user.h
AS lib/crt1.o
cc1: error: unrecognized command line option "-m32"
make: *** [lib/crt1.o] Error 1
-m32是根据ARM板设置的$BUILD值.
ARM板是32位的,但不是MIPS架构.所以我选择了下面的32-Bit All Others 的值:-m32
Table 6.1. List of Build Variables
ABI BUILD=Value
32-Bit MIPS -mabi=32
32-Bit All Others -m32
N32 MIPS -mabi=n32
64-Bit MIPS -mabi=64
64-Bit All Others -m64
请问有谁遇到过这个问题?高手请指点一下.
作者: paraller 发布时间: 2008-12-25
作者: RTL 发布时间: 2008-12-25
先谢过楼上.
-mabi=name
Generate code for the specified ABI. Permissible values are: `apcs-gnu', `atpcs', `aapcs', `aapcs-linux' and `iwmmxt'.
这里只指出了特殊的几个ABI值,那么默认值是什么?GCC如何识别是32位还是64位?(不过,不知道现在有没有64位的ARM)
待究
-mabi=name
Generate code for the specified ABI. Permissible values are: `apcs-gnu', `atpcs', `aapcs', `aapcs-linux' and `iwmmxt'.
这里只指出了特殊的几个ABI值,那么默认值是什么?GCC如何识别是32位还是64位?(不过,不知道现在有没有64位的ARM)
待究
作者: paraller 发布时间: 2008-12-25
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28