~/bochs-2.6.2
mingw pthread(增加多线程库)
release:
$ ./configure -enable-smp --enable-cpu-level=6 --enable-all-optimizations --enable-x86-64 --enable-vmx --enable-avx --enable-sb16 --enable-cdrom
或debug:
$ ./configure -enable-smp --enable-cpu-level=6 --enable-all-optimizations --enable-x86-64 --enable-vmx --enable-debugger --enable-disasm --enable-avx --enable-sb16
make
make install
编译源码得到支持smp,x86-64的环境,默认发布的提供的是p4 不支持x64。
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
-