Re: How to re-compile sshd for a 386

Mark Ter Morshuizen <[email protected]> Sun, 3 Aug 2025 10:07:20 +0200
Newsgroups gmane.os.netbsd.ports.i386
Organization Honingklip Brewery
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------wgDm07xdhBk3zDOo0VSR203g
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

On 2025/08/01 16:04, Greg Troxel wrote;
> I think NetBSD 4 still uses build.sh.  But I don't remember the late
> 2000s in that kind of detail, as I stopped using NetBSD 4 about 2010.

There is indeed a build.sh. Trying to follow the NetBSD Guide I should 
be able to do

   ./build.sh list-arch

but that fails / is not implemented here.

It's not listed under "Other operations" if I do ./build.sh help.

Also as per the guide I could do

   $ ./build.sh -U -u -j2 -O ~/obj -m evbarm -a aarch64 release

or in my case

   $ ./build.sh -U -u -O ./obj -m i386 -a <somearch> release

but I can't find what exactly to use instead of "<somearch>".

Like, how do I build for 386, 486, Pentium, etc?

-- 
Mark Ter Morshuizen

--------------wgDm07xdhBk3zDOo0VSR203g
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,<br>
    </p>
    <div class="moz-cite-prefix">On 2025/08/01 16:04, Greg Troxel wrote;<span
      style="white-space: pre-wrap">
</span><span style="white-space: pre-wrap">
</span></div>
    <blockquote type="cite" cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">I think NetBSD 4 still uses build.sh.  But I don't remember the late
2000s in that kind of detail, as I stopped using NetBSD 4 about 2010.
</pre>
    </blockquote>
    <p>There is indeed a build.sh. Trying to follow the NetBSD Guide I
      should be able to do</p>
    <p>  ./build.sh list-arch</p>
    <p>but that fails / is not implemented here.</p>
    <p>It's not listed under "Other operations" if I do ./build.sh help.<br>
    </p>
    <p>Also as per the guide I could do</p>
    <p>  $ ./build.sh -U -u -j2 -O ~/obj -m evbarm -a aarch64 release</p>
    <p>or in my case</p>
    <p>  $ ./build.sh -U -u -O ./obj -m i386 -a &lt;somearch&gt; release</p>
    <p>but I can't find what exactly to use instead of
      "&lt;somearch&gt;".</p>
    <p>Like, how do I build for 386, 486, Pentium, etc?<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Mark Ter Morshuizen
</pre>
  </body>
</html>

--------------wgDm07xdhBk3zDOo0VSR203g--