哪位知道怎么编译 n64 的 clisp ?我看 debian 有,但是我为什么编译不出来?

如题
郁闷死了。
我怎么都出现
lispbibl.d:3185:7: error: #error oint_addr_mask does not cover CODE_ADDRESS_RANGE !!
#error oint_addr_mask does not cover CODE_ADDRESS_RANGE !!
^~~~~
lispbibl.d:3188:7: error: #error oint_addr_mask does not cover MALLOC_ADDRESS_RANGE !!
#error oint_addr_mask does not cover MALLOC_ADDRESS_RANGE !!
^~~~~


但是 debian 就能编译成功!

----------update
好奇怪,loongix 和我编译的 arch configure 时,检测到的参数不一样!
我自己编译的系统:
checking for the code address range...           0x000000AAB0000000
checking for the malloc address range... 0x000000AAAB000000
checking for the shared library address range... 0x000000FFED000000
checking for the stack address range... 0x000000FFFF000000

loongnix:
checking for the code address range...           0x0000000120000000
checking for the malloc address range... 0x0000000120000000
checking for the shared library address range... 0x000000FFED000000
checking for the stack address range... 0x000000FFFF000000


为什么不一样?因为 GCC ?

弄到了测试的代码,真的是编译器的问题???
#include <stdio.h>
int printf_address (unsigned long addr) {
FILE* out = fopen("conftest.h","w");
if (sizeof(unsigned long) <= 4)
fprintf(out,"0xX\n", (unsigned int)addr);
else
fprintf(out,"0xXX\n",(unsigned int)(addr>>32),(unsigned int)(addr&0xFFFFFFFF));
return ferror(out) || fclose(out);
}
#define chop_address(addr) ((unsigned long)(char*)(addr) & ~0x00FFFFFFL)

int
main ()
{

return printf_address(chop_address(&printf_address));
;
return 0;
}
已邀请:

要回复问题请先登录注册