<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/INSTALL, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>INSTALL: set defaults for awk and egrep</title>
<updated>2025-07-24T16:25:44+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-07-24T16:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=67dd74a9640dfd9192b3e1d07c3ff9e7cc4cbf75'/>
<id>67dd74a9640dfd9192b3e1d07c3ff9e7cc4cbf75</id>
<content type='text'>
Set defaults for `awk` and `egrep`, instead of
setting things multiple times when specializing on
OS, and using a default in a `case` statement.
This is cleaner and less error-prone.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set defaults for `awk` and `egrep`, instead of
setting things multiple times when specializing on
OS, and using a default in a `case` statement.
This is cleaner and less error-prone.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add $egrep</title>
<updated>2025-07-23T19:44:54+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-07-22T14:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=564d45b5a55adeb48f69fdecb2bf4ed1f909850b'/>
<id>564d45b5a55adeb48f69fdecb2bf4ed1f909850b</id>
<content type='text'>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL: fix $PLAN9 in message</title>
<updated>2024-04-06T15:14:36+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-04-06T15:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=ace7bcb75bf2f4e27abbd413b45d04ab4314fbb1'/>
<id>ace7bcb75bf2f4e27abbd413b45d04ab4314fbb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL: Always set PLAN9_TARGET environment variable</title>
<updated>2022-07-27T14:15:51+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2021-10-30T23:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=f7b572818c7617065ef0877870caee060db90a30'/>
<id>f7b572818c7617065ef0877870caee060db90a30</id>
<content type='text'>
That is, not only when -r was given. This allows using this veriable in
mkfiles across the code base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That is, not only when -r was given. This allows using this veriable in
mkfiles across the code base.
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL: build arm64 binaries on arm64 Macs</title>
<updated>2022-01-24T18:47:27+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2022-01-24T18:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=bab7b73b85f865d20a5c4f2d78ac9e81b3d39109'/>
<id>bab7b73b85f865d20a5c4f2d78ac9e81b3d39109</id>
<content type='text'>
If there is any x86 binary in the chain of parent processes from
the current one, then uname -m prints x86_64 and clang
defaults to building x86_64 binaries.

Detect arm64 using the kernel version and force building
an arm64 toolchain instead of perpetuating x86.

This is particularly important when the user shell is rc,
which has been built for x86, because then rebuilding
under rc continues to use x86.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is any x86 binary in the chain of parent processes from
the current one, then uname -m prints x86_64 and clang
defaults to building x86_64 binaries.

Detect arm64 using the kernel version and force building
an arm64 toolchain instead of perpetuating x86.

This is particularly important when the user shell is rc,
which has been built for x86, because then rebuilding
under rc continues to use x86.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: remove $OBJTYPE from build</title>
<updated>2020-12-30T12:53:28+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-12-30T12:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=99dee78c2d44641ba56e5bb640d732f993b3dfa1'/>
<id>99dee78c2d44641ba56e5bb640d732f993b3dfa1</id>
<content type='text'>
Now that we assume pthreads, the only assembly
left is in libmp and libsec.
We only ever added assembly for 386.
The portable C code is fine for plan9port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we assume pthreads, the only assembly
left is in libmp and libsec.
We only ever added assembly for 386.
The portable C code is fine for plan9port.
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL: build mk all the time</title>
<updated>2020-05-18T00:15:41+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-05-18T00:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=06687f70ba7a5836c2e872648a85a724a5a1d486'/>
<id>06687f70ba7a5836c2e872648a85a724a5a1d486</id>
<content type='text'>
If mk gets into a bad state, it's not obvious that you can
remove the binary to force the rebuild. Also, not rebuilding
means that bugs in mkmk.sh are not noticed.
Just rebuild from scratch every time. It doesn't take too long
compared to the rest of INSTALL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If mk gets into a bad state, it's not obvious that you can
remove the binary to force the rebuild. Also, not rebuilding
means that bugs in mkmk.sh are not noticed.
Just rebuild from scratch every time. It doesn't take too long
compared to the rest of INSTALL.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: remove Linux 2.4 vs 2.6 detection</title>
<updated>2020-01-20T04:04:58+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-20T02:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c'/>
<id>cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c</id>
<content type='text'>
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL: do not rm config after setting it up</title>
<updated>2020-01-14T04:38:04+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-14T04:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=952a9afae06b4e13b1e0da3e768bbd4bf64b9ec5'/>
<id>952a9afae06b4e13b1e0da3e768bbd4bf64b9ec5</id>
<content type='text'>
Fixes #334.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #334.
</pre>
</div>
</content>
</entry>
<entry>
<title>INSTALL, 9c, 9l: improve handling of *BSD (#302)</title>
<updated>2020-01-07T19:51:42+00:00</updated>
<author>
<name>Leonid Bobrov</name>
<email>goleo@disroot.org</email>
</author>
<published>2020-01-07T19:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=cf6b778799edf4ebc2331d12707e66e7d38331ea'/>
<id>cf6b778799edf4ebc2331d12707e66e7d38331ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
