Chinaunix

标题: 请问在 irix下用cc 怎样编译64 的perl? 急呀!!!!!!!!! [打印本页]

作者: 田伯光    时间: 2003-07-25 17:24
标题: 请问在 irix下用cc 怎样编译64 的perl? 急呀!!!!!!!!!
请问在 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.
作者: sgi    时间: 2003-07-27 00:36
标题: 请问在 irix下用cc 怎样编译64 的perl? 急呀!!!!!!!!!
最近出差,无法测试,我要等几天才能给你回复!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2