Bochs/bochs/.conf.macosx
Volker Ruppert bf7c13e480 - use autodetection version of the SB16 configure option
- the variable CONFIGURE_ARGS can now override all options in the shortcut script
2005-03-22 16:44:24 +00:00

34 lines
1.0 KiB
Bash

#!/bin/sh
# 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.
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 -fmove-all-movables $CFLAGS"
CPATH="/sw/include"
CPPFLAGS=""
CXXFLAGS="$CFLAGS"
LDFLAGS="-L/sw/lib"
export CFLAGS
export CPATH
export CPPFLAGS
export CXXFLAGS
export LDFLAGS
./configure --enable-cdrom \
--enable-sb16 \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
--enable-cpu-level=6 \
--enable-sse=1 \
--enable-pci \
--enable-clgd54xx \
--enable-plugins \
${CONFIGURE_ARGS}