免费注册 查看新帖 |

Chinaunix

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

[IRIX] 请问在 irix下用cc 怎样编译64 的perl? 急呀!!!!!!!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-25 17:24 |只看该作者 |倒序浏览
请问在 irix下用cc 怎样编译64 的perl?  急呀!!!!!!!!!

报的错误是:

Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]

Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program:

#include <stdio.h>;
int main() { printf("Ok\n"; exit(0); }

I used the command:

        cc -64 -O -32 -D_BSD_TYPES -D_BSD_TIME -Olimit 3100 -I/usr/local/include -DLANGUAGE_C -o try -L/usr/local/lib try.c -ldb -lm -lc
        ./try

and I got the following output:

cc ERROR:  cannot mix -32 abi with -64 abi
I can't compile the test program.
(The supplied flags or libraries might be incorrect.)

You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.

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

请问在 irix下用cc 怎样编译64 的perl? 急呀!!!!!!!!!

最近出差,无法测试,我要等几天才能给你回复!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP