Bochs/bochs/.conf.macosx
Daniel Gimpelevich d5d7021e5e omit frame pointer
2003-12-30 00:40:04 +00:00

29 lines
887 B
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"
CPPFLAGS=""
CXXFLAGS="$CFLAGS"
LDFLAGS="-L/sw/lib"
export CFLAGS
export CPPFLAGS
export CXXFLAGS
export LDFLAGS
./configure --enable-cdrom \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
${CONFIGURE_ARGS} \
--enable-plugins \
--enable-pci \
--enable-mmx