免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1286 | 回复: 6
打印 上一主题 下一主题

一个奇怪的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-04 15:58 |只看该作者 |倒序浏览
各位老大:我在hp-ux11.00上安装了gcc3.2,但是它怎么不能编译c程序,是不是要设置path?

论坛徽章:
0
2 [报告]
发表于 2003-04-04 22:36 |只看该作者

一个奇怪的问题

[quote]原帖由 "423"]各位老大:我在hp-ux11.00上安装了gcc3.2,但是它怎么不能编译c程序,是不是要设置path?[/quote 发表:
Hi,
What command you used to compile the c program? what kind of error message you received?

Remeber: doctors can only diagnose when the patients give them the symptons...

论坛徽章:
0
3 [报告]
发表于 2003-04-05 08:31 |只看该作者

一个奇怪的问题

to:Shad
错误显示如下:
# ./configure --prefix=/usr/local/resin
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot cr
eate executables
#

论坛徽章:
0
4 [报告]
发表于 2003-04-05 09:42 |只看该作者

一个奇怪的问题

Hi,
I am not sure if your gcc is in your PATH. Can you do a "type gcc" to see if it returns the complete path to the gcc:

e.g.
# type gcc
gcc is /usr/local/bin/gcc

If you don't see the above, but only see "gcc not found.", then you need to add the gcc's dir to your PATH.

e.g.
# type gcc
gcc not found.

# export PATH=/usr/local/binPATH
# type gcc
gcc is /usr/local/bin/gcc

But I have looked at the error message you posted again, I am not sure if this is really the problem. Maybe other people can give some suggestions here?

论坛徽章:
0
5 [报告]
发表于 2003-04-05 12:11 |只看该作者

一个奇怪的问题

to shad:
我执行type gcc,显示结果是:gcc is /usr/local/bin/gcc。
但是我安装resin时,总是报上面的错误。

C compiler default output这个东西在什么地方能设置?

论坛徽章:
0
6 [报告]
发表于 2003-04-05 20:40 |只看该作者

一个奇怪的问题

原帖由 "423" 发表:
to shad:
我执行type gcc,显示结果是:gcc is /usr/local/bin/gcc。
但是我安装resin时,总是报上面的错误。

C compiler default output这个东西在什么地方能设置?


Hi 423,
I have not used/compiled this resin before. But I have searched google and the following link you may want to have a look, it may give you some hint:

http://www.caucho.com/support/resin-interest/0008/0219.html

Good luck.

论坛徽章:
0
7 [报告]
发表于 2003-04-06 16:41 |只看该作者

一个奇怪的问题

TO Shad
     Thank you! I have read it .This is a system error.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP