Skip to content

Commit 63fbbab

Browse files
committed
Update build instructions for OpenBSD
1 parent 49cdec0 commit 63fbbab

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ the configure command. LLVM 7, 8, and 9 have all been tested.
5757
NVC also depends GNU Flex to generate the lexical analyser.
5858

5959
[GtkWave](http://gtkwave.sourceforge.net/) can be used to view simulation
60-
waveforms. Version 3.3.79 or later is reqiured for the default FST format.
60+
waveforms. Version 3.3.79 or later is required for the default FST format.
6161

6262
#### Debian and Ubuntu
6363

6464
On a Debian derivative the following should be sufficient to install all
6565
required dependencies:
6666

6767
sudo apt-get install build-essential automake autoconf autoconf-archive flex \
68-
check llvm-dev pkg-config zlib1g-dev curl
68+
check llvm-dev pkg-config zlib1g-dev
6969

7070
#### Mac OS X
7171

@@ -96,19 +96,19 @@ If you do not already have Cygwin it is easiest to build for MinGW using
9696

9797
For Cygwin use `setup.exe` to install either `gcc` or `clang` and the following
9898
dependencies: `automake`, `autoconf`, `pkg-config`, `llvm`, `libllvm-devel`,
99-
`flex`, `libffi-devel`, `libcurses-devel`, `curl`, and `make`. Then follow the
99+
`flex`, `libffi-devel`, `libcurses-devel`, and `make`. Then follow the
100100
standard installation instructions above.
101101

102102
#### OpenBSD
103103

104104
Install the dependencies with `pkg_add`:
105105

106-
pkg_add -r automake-1.15p0 autoconf-2.69p2 libexecinfo llvm check libexecinfo
106+
pkg_add automake autoconf libexecinfo llvm check libexecinfo
107107

108-
Use a modern compiler such as Clang to build, as the system GCC does not support
109-
many modern language features.
108+
To configure using the system compiler:
110109

111-
./configure --with-llvm=/usr/local/bin/llvm-config CC=clang CXX=clang++
110+
./configure LDFLAGS="-L/usr/local/lib" CC=/usr/bin/cc CXX=/usr/bin/c++ \
111+
--with-llvm=/usr/local/bin/llvm-config
112112

113113
Then follow the generic instructions above.
114114

autogen.sh

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
#!/bin/sh
2-
3-
# Required for OpenBSD
4-
export AUTOCONF_VERSION=2.69
5-
export AUTOMAKE_VERSION=1.15
6-
72
cd $(git rev-parse --show-toplevel)
83
autoreconf --force --install -I m4

0 commit comments

Comments
 (0)