LinuxSir.cn,穿越时空的Linuxsir!

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

新人请教问题,cygwin下编译binutils问题

[复制链接]
发表于 2009-5-4 17:38:04 | 显示全部楼层 |阅读模式
我在用cygwin安装binutils-2.16.1,进行./configure,configure完后并没有生成makefile文件,说以接下来无法make,configure出错信息如下,等高手解答,为什么没生成makefile文件呢?
我的cygwin是完全安装的,有4G多
bash-3.2$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /cygdrive/c/cygwin/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f
2
checking for correct version of gmp.h... yes
checking for MPFR... yes
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for flex... no
checking for lex... no
checking for makeinfo... makeinfo
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
/cygdrive/c/cygwin/bin/sed: -e expression #1, char 13: unknown option to `s'
checking for i686-pc-cygwin-ar... no
checking for ar... ar
checking for i686-pc-cygwin-as... no
checking for as... as
checking for i686-pc-cygwin-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-cygwin-ld... /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../..
/../../i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-nm... no
checking for nm... nm
checking for i686-pc-cygwin-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-cygwin-windres... no
checking for windres... windres
checking for i686-pc-cygwin-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-cygwin-objdump... no
checking for objdump... objdump
checking for i686-pc-cygwin-ar... no
checking for ar... ar
checking for i686-pc-cygwin-as... no
checking for as... as
checking for i686-pc-cygwin-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-cygwin-ld... no
checking for ld... ld
checking for i686-pc-cygwin-nm... no
checking for nm... nm
checking for i686-pc-cygwin-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-cygwin-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
creating ./config.status
bash-3.2$ make
make: *** No targets specified and no makefile found.  Stop.
bash-3.2$ which make
/cygdrive/c/cygwin/bin/make
bash-3.2$
 楼主| 发表于 2009-5-5 09:08:36 | 显示全部楼层
昏,没人么?等待高手援救
回复 支持 反对

使用道具 举报

发表于 2009-5-5 09:25:20 | 显示全部楼层
不是没有make,是没有生成 Makefile,或者你make的路径不对

你ls Makefile看看有没有,我记得好象binutils不能在源代码目录下面编译的
回复 支持 反对

使用道具 举报

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

本版积分规则

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