在 Cygwin 中从源代码构建 htop

Building htop from source in Cygwin

我正在尝试在 Windows 7 64 位上从 Cygwin 下的源码包(最新稳定版)构建 htop。我按照 README 中给出的说明进行操作,但是当我 运行 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

我们将不胜感激所有建议!

htop author here — htop has a lot of platform-specific code, so porting it is not a matter of simply recompiling it. The current version of htop does not support Cygwin. The latest release version, 2.0.1, 支持 Linux, Mac OS X, FreeBSD 和 OpenBSD.

不过,如果有人编写 Cygwin 端口,我很乐意 accept patches