mkconfig: OBJTYPE=$objtype does not work for me

27 views
Skip to first unread message

Paul Dufresne

unread,
Jun 26, 2021, 5:14:35 PM6/26/21
to inferno-os
I change it to:
OBJECTTYPE=386                  # target system object type (eg, 386, arm, mips, power, s800, s>
#OBJTYPE=$objtype # seems wrong
OBJTYPE=$OBJECTTYPE

Valery Ushakov

unread,
Jun 28, 2021, 12:10:28 PM6/28/21
to inferno-os
This is because you are not on a plan9 host (where objtype is set in the environment).
Message has been deleted

Paul Dufresne

unread,
Jun 30, 2021, 12:33:50 AM6/30/21
to inferno-os
Then I propose:
#OBJTYPE=
OBJTYPE=${OBJTYPE:-objtype} # use OBJTYPE if defined, else use objtype (defined in Plan9) weither it is defined or not

Paul Dufresne

unread,
Jun 30, 2021, 12:37:26 AM6/30/21
to inferno-os
Wait, does Plan9 shell does support this kind of substitution?

Paul Dufresne

unread,
Jun 30, 2021, 8:23:12 AM6/30/21
to inferno-os
rc is the Plan9 shell, and it is so much different than BASH that it seems justified to have mkmake for BASH like shell, and mkmakePlan9 for Plan9.
http://doc.cat-v.org/plan_9/4th_edition/papers/rc

bhgv

unread,
Jun 30, 2021, 8:41:41 AM6/30/21
to inferno-os
> rc is the Plan9 shell, and it is so much different than BASH that it seems justified to have mkmake for BASH like shell, and mkmakePlan9 for Plan9.

rc is as powerful as bash.  and in some places it is more powerful.  please study it.  experiment.  do not hurry.  inferno is simple and easy to assemble.  just take your time for the first time.


среда, 30 июня 2021 г. в 15:23:12 UTC+3, dufr...@gmail.com:
Reply all
Reply to author
Forward
0 new messages