Re: How to re-compile sshd for a 386
Jörg Sonnenberger <[email protected]> Mon, 4 Aug 2025 14:27:54 +0200
| Newsgroups | gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/25 12:43 PM, Greg Troxel wrote: > RVP <[email protected]> writes: > >>> Is there a way to recompile the built in (not a package) sshd so >>> that it runs on the 386? >> >> You'll have to pass the `-march=i386' flag to GCC and use the portable C >> routines in libcrypto instead of the preferred faster assembly code. > > In general yes, but I thought NetBSD 4 still supported i386, so this > should just happen? It's more like NetBSD 4 contained the leftovers of i386 support. It doesn't mean anyone actively tested that for ages. Joerg