readme.rs6000

来自「早期freebsd实现」· RS6000 代码 · 共 22 行

RS6000
22 行
字号
Date:	Fri, 26 Apr 1991 18:01:04 -0300From:	mjlx@eagle.cnsf.cornell.edu (Mike Lijewski)To:	arnold@audiofax.comCc:	david@cs.dal.caSubject: testing 2.12 on a machine with unsigned charsI chose to use the alloca which you supply.  The RS/6000 has a builtinalloca which is accessible using a `#pragma alloca', but I chose notto use it.  Initially, I tried to use it by conditionally compiling it,similar to the way alloca.h is included on sparcs.  But this hassome problems.  Firstly, the RS/6000 compiler complains about theplacement of the #pragma, something to the intent that the pragma mustprecede all C code.  This would be easy enough to fix by conditionallyincluding the #pragma elsewhere in the relevant files.  A moredifficult problem is that the awk.tab.c generated by bison usesalloca.  To fix this the right way, bison would have to be modified tooutput the appropriate conditionally compilable code as it does nowfor sparcs.  If you think it is worth while to use the builtin alloca,I would be happy to get it working, except for the bison problem, andsend you the diffs.  The FSF might also be interested in "fixing"bison to use the builtin alloca on the RS/6000.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?