在 Intel MBA 上安装 inferno 时出错

在 Intel MBA 上安装 inferno 时出错

我正在尝试安装地狱(操作系统)在我的 MacBook Air(13 英寸,2015 年初)上。

一切都很顺利,直到我到达最后一步:mk install。这是错误消息:

mk: no recipe to make 'setfcr-MacOSX-386.o'
clang: error: unknown argument: '-mno-fused-madd'
mk: for j in ...  : exit status=exit(1)

有任何想法吗?


额外的信息:

以下是安装说明:

1    Edit    mkconfig  to  reflect  your  host  environment,
     specifically  ROOT  (which  must  be  an  absolute path
     name), SYSHOST and OBJTYPE.  The comments in  the  file
     should help you choose.

2    Run  makemk.sh to rebuild the   mk  command,  which  is
     used to build everything else.

3    Set  PATH (or  path on Plan 9)  to  include  the    bin
     directory for the platform, which will now contain the
     mk binary just built.  On Unix, export  PATH.

4    Then  mk nuke to remove any extraneous object files.

5    Finally,    mk  install  to  create  and  install   the
     libraries,    limbo  compiler,  emu for hosted Inferno,
     and auxiliary commands.  The rules do that in an  order
     that ensures that the commands or libraries needed by a
     later stage are built and installed first.  (Note  that
     a  plain   mk will not suffice, because it does not put
     the results in the search path.)

这是我的makemk.sh

#
#   Set the following 4 variables.  The host system is the system where
#   the software will be built; the target system is where it will run.
#   They are almost always the same.

#   On Nt systems, the ROOT path MUST be of the form `drive:/path'
ROOT=/Users/sunqingyao/Inferno

#
#   Specify the flavour of Tk (std for standard builds)
#
TKSTYLE=std

#
#   Except for building kernels, SYSTARG must always be the same as SYSHOST
#
SYSHOST=MacOSX      # build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
SYSTARG=$SYSHOST        # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)

#
#   specify the architecture of the target system - Plan 9 imports it from the
#   environment; for other systems it is usually just hard-coded
#
OBJTYPE=386         # target system object type (eg, 386, arm, mips, power, s800, sparc)

#
#   no changes required beyond this point
#
OBJDIR=$SYSTARG/$OBJTYPE

<$ROOT/mkfiles/mkhost-$SYSHOST          # variables appropriate for host system
<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type

相关内容