【问题标题】:Building htop from source in Cygwin在 Cygwin 中从源代码构建 htop
【发布时间】:2016-03-11 04:31:31
【问题描述】:

我正在尝试在 Windows 7 64 位的 Cygwin 下从源代码包(最新稳定版)构建 htop。我按照自述文件中的说明进行操作,但是在运行 make 脚本时遇到以下错误:

Administrator@x230-WIN7 ~/tmp/htop-1.0.3
$ make
make  all-am
make[1]: Entering directory '/home/Administrator/tmp/htop-1.0.3'
gcc -DHAVE_CONFIG_H -I.  -DNDEBUG  -pedantic -Wall -Wextra -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED -DSYSCONFDIR=\"/usr/local/etc\" -g -O2 -MT htop-AvailableMetersPanel.o -MD -MP -MF .deps/htop-AvailableMetersPanel.Tpo -c -o htop-AvailableMetersPanel.o `test -f 'AvailableMetersPanel.c' || echo './'`AvailableMetersPanel.c
gcc: error: unrecognized command line option ‘-rdynamic’
Makefile:467: recipe for target 'htop-AvailableMetersPanel.o' failed
make[1]: *** [htop-AvailableMetersPanel.o] Error 1
make[1]: Leaving directory '/home/Administrator/tmp/htop-1.0.3'
Makefile:292: recipe for target 'all' failed
make: *** [all] Error 2

所有建议将不胜感激!

【问题讨论】:

    标签: cygwin htop


    【解决方案1】:

    htop 作者在这里——htop 有很多特定于平台的代码,所以移植它是not a matter of simply recompiling it。当前版本的 htop 不支持 Cygwin。最新的release 版本,2.0.1,支持 Linux、Mac OS X、FreeBSD 和 OpenBSD。

    如果有人编写 Cygwin 端口,我很高兴accept patches

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-09-09
      • 2013-06-01
      • 2012-12-11
      • 2015-08-20
      • 2011-09-05
      • 2020-06-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多