Я пытаюсь установить 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