Bochs/bochs/.conf.macosx

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2001-09-27 07:56:36 +04:00
#!/bin/sh
2001-12-11 16:42:23 +03:00
# this sets up the compile for MacOS X
#
# To support plugins on macosx, you must have "dlcompat" installed. You can
# get dlcompat by installing the fink package "dlcompat-devel". On the SF
# compile farm, dlcompat is in /sw/include and /sw/lib, so we have added
# those paths to the environment variables.
2001-09-27 07:56:36 +04:00
set echo
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"
2004-02-22 07:14:10 +03:00
CPATH="/sw/include"
CPPFLAGS=""
2001-09-27 07:56:36 +04:00
CXXFLAGS="$CFLAGS"
LDFLAGS="-L/sw/lib"
2001-09-27 07:56:36 +04:00
export CFLAGS
2004-02-22 07:14:10 +03:00
export CPATH
export CPPFLAGS
2001-09-27 07:56:36 +04:00
export CXXFLAGS
export LDFLAGS
2001-09-27 07:56:36 +04:00
./configure --enable-sb16 \
--enable-ne2000 \
2003-10-02 15:33:42 +04:00
--enable-all-optimizations \
--enable-cpu-level=6 \
--enable-x86-64 \
--enable-vmx=2 \
--enable-pci \
--enable-clgd54xx \
--enable-voodoo \
--enable-usb \
--enable-usb-ohci \
--enable-usb-ehci \
--enable-usb-xhci \
--enable-busmouse \
--enable-es1370 \
--enable-e1000 \
--enable-plugins \
${CONFIGURE_ARGS}