Commit f01561d3 authored by Roman Bolshakov's avatar Roman Bolshakov Committed by Paolo Bonzini
Browse files

README: Reflect missing --getopt in configure

83760814

 ("configure: Check for new-enough getopt") has replaced
proposed patch and doesn't introduce --getopt option in configure.
Instead, `configure` and `run_tests.sh` expect proper getopt to be
available in PATH.
Signed-off-by: default avatarRoman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200924100613.71136-1-r.bolshakov@yadro.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f0d63d0f
......@@ -22,10 +22,14 @@ $ brew install i686-elf-gcc
$ brew install x86_64-elf-gcc
```
32-bit x86 tests can be built like that:
Make enhanced getopt available in the current shell session:
```
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
```
Then, 32-bit x86 tests can be built like that:
```
$ ./configure \
--getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=i386 \
--cross-prefix=i686-elf-
$ make -j $(nproc)
......@@ -34,7 +38,6 @@ $ make -j $(nproc)
64-bit x86 tests can be built likewise:
```
$ ./configure \
--getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=x86_64 \
--cross-prefix=x86_64-elf-
$ make -j $(nproc)
......@@ -71,7 +74,6 @@ $ ct-ng -C $X_BUILD_DIR build CT_PREFIX=$X_INSTALL_DIR
Once compiled, the cross-compiler can be used to build the tests:
```
$ ./configure \
--getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=x86_64 \
--cross-prefix=$X_INSTALL_DIR/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-
$ make -j $(nproc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment