- added instructions how to update the online documentation
[bochs-mirror.git] / .conf.macosx
bloba78f5c5b9a48323661323bb7cae2e52b7f69ae4b
1 #!/bin/sh
3 # this sets up the compile for MacOS X
5 # To support plugins on macosx, you must have "dlcompat" installed. You can
6 # get dlcompat by installing the fink package "dlcompat-devel". On the SF
7 # compile farm, dlcompat is in /sw/include and /sw/lib, so we have added
8 # those paths to the environment variables.
10 set echo
11 CFLAGS="-pipe -O3 -I/sw/include -fomit-frame-pointer -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -fprefetch-loop-arrays $CFLAGS"
12 CPATH="/sw/include"
13 CPPFLAGS=""
14 CXXFLAGS="$CFLAGS"
15 LDFLAGS="-L/sw/lib"
17 export CFLAGS
18 export CPATH
19 export CPPFLAGS
20 export CXXFLAGS
21 export LDFLAGS
23 ./configure --enable-sb16 \
24 --enable-ne2000 \
25 --enable-all-optimizations \
26 --enable-cpu-level=6 \
27 --enable-x86-64 \
28 --enable-sse=2 \
29 --enable-pci \
30 --enable-acpi \
31 --enable-clgd54xx \
32 --enable-usb \
33 --enable-plugins \
34 ${CONFIGURE_ARGS}