Add information about NetBSD 6 compilation on i386

This commit is contained in:
Ondřej Surý
2019-03-01 15:19:22 +01:00
committed by Evan Hunt
parent fcade0610f
commit 9a16e0a5ae

View File

@@ -95,8 +95,18 @@ armhf documentation):
the processors to support here, therefore the recommended build option is
`-mfpu=vfpv3-d16`.
The configure command should look like this:
The `configure` command should look like this:
```
CFLAGS="-march=armv7-a -mfpu=vfpv3-d16 -Os -g" ./configure
```
### NetBSD 6 i386
The i386 build of NetBSD requires the `libatomic` library, available from
the `gcc5-libs` package. Because this library is in a non-standard path,
its location must be specified in the `configure` command line:
```
LDFLAGS="-L/usr/pkg/gcc5/i486--netbsdelf/lib/ -Wl,-R/usr/pkg/gcc5/i486--netbsdelf/lib/" ./configure
```