LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1110|回复: 12

工控机如何编译LFS

[复制链接]
发表于 2010-12-14 11:43:16 | 显示全部楼层 |阅读模式
工控机如何编译LFS
发表于 2010-12-14 13:00:00 | 显示全部楼层
这个应该看是什么工控机了吧?现在有的工程机说白了就是一高级PC,工作站都不一定算。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-14 13:04:42 | 显示全部楼层
今天按照PC机的做法编译,可是Binutils都没编译通过。
回复 支持 反对

使用道具 举报

发表于 2010-12-14 14:30:04 | 显示全部楼层
难道不是x86构架的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-14 16:20:37 | 显示全部楼层
应该是,但编译Binutils的时候,说这个没找到,那个没找到。
回复 支持 反对

使用道具 举报

发表于 2010-12-14 16:40:39 | 显示全部楼层
什么宿主环境呢?
你在非工控机上成功过么? 应该是机器无关的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-14 17:18:00 | 显示全部楼层
lfs live-cd
PC上成功编译过好几次
回复 支持 反对

使用道具 举报

发表于 2010-12-14 17:42:26 | 显示全部楼层
出错信息呢, 那一步出错的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-17 09:51:02 | 显示全部楼层
make: Warning: File `../binutils-2.17/Makefile.in' has modification time 1.4e+07 s in the future
CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.17/configure  --prefix=/tools --disable-nls --disable-werror --no-create --no-recursion
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/  ) works... yes
checking whether the C compiler (gcc -B/usr/bin/  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -B/usr/bin/ accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... no
checking for lipo... no
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
这种状态,一直循环下去。。。
帮忙看看!
才发现,cpu是EM64T的,查了一下,应该是IA-32的扩展吧。
回复 支持 反对

使用道具 举报

发表于 2010-12-17 10:35:54 | 显示全部楼层
你机器的时间不对,重新调整一下时间到正确值再编译。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表