文章标签 ‘gcc’
编译时间为1小时零12分钟,调试错误的时间累计就不知道多少了。要编译的语言为c,c++,f95。之前出过N多的错误,因为时间过去太久了,有些错误的名字记不太清楚了,只大概地写一下:
Fatal error in reader: makefile, line XXX: Unexpected end of line seen
解决这个问题,需要安装gmake,因为OpenSolaris中自带的语法和gnu make的语法可能不一样。
接下去碰到的问题,是采用以下编译选项的:
1
2
3
./configure --prefix=/usr/local \
--with-gnu-ld=/usr/gnu/bin/ld; \
gmake all
出错提示有很多,都记不太清了,比如:
configure: error: cannot compute suffix of object files: cannot compile
[gmake] *** cannot create rule to make target `all' ***
ld errors: no .eh_frame_hdr table will be created.
在网上找到这个网页:http://www.linuxidc.com/Linux/2008-07/14125p2.htm
看到如下的configure选项:
分类: Z-Turn
