dosbox breaks with MIPSpro, works with gcc
#7
RE: dosbox breaks with MIPSpro, works with gcc
Here is the build env I used for the IPA optimized binary (I just noticed I built it using -g0, but it seems to be the only binary that didn't die on "mount" using -g0)...

Code:
#############
# MIPSpro Optimized with
# :roundoff=2:div_split=ON:alias=typed,
# -Ofast=ip35, -IPA, -g0 and -lfastm (instead of -lm on link line)
# (not INLINE=all)
#############
# note - add "-show" in CFLAGS to see internal command lines

export CC=cc
export CXX=CC
export F77=f77
export CFLAGS='-c99 -g0 -O3 -Ofast=ip35 -mips4 -OPT:Olimit=0:roundoff=2:div_split=ON:alias=typed -TARG:platform=IP35:proc=r16000 -woff all -IPA'
export CXXFLAGS='-O3  -g0  -Ofast=ip35 -mips4 -OPT:Olimit=0:roundoff=2:div_split=ON:alias=typed  -TARG:platform=IP35:proc=r16000 -woff all -IPA'
export CPPFLAGS='-I/usr/local/include -I/usr/nekoware/include -I/usr/freeware/include'
export LDFLAGS='-mips4 -L/usr/local/lib -L/usr/local/lib32 -L/usr/nekoware/lib -L/usr/freeware/lib32 -rpath /usr/local/lib:/usr/local/lib32:/usr/nekoware/lib:/usr/lib32'
#export PKG_CONFIG_PATH='/usr/nekoware/lib/pkgconfig'
#export PKG_CONFIG_LIBDIR='/usr/nekoware/lib'
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib32:/usr/nekoware/lib:/usr/freeware/lib32
export LD_LIBRARYN32_PATH=/usr/local/lib:/usr/local/lib32:/usr/nekoware/lib:/usr/freeware/lib32
#export LD_LIBRARY64_PATH='/usr/nekoware/lib64'
#export GNOME2_DIR='/usr/nekoware'
export GNUMAKE=gmake
export MAKE=gmake
# prevent configure from adding -O and overriding -O3:
export OPT=-O3
export AR="CC -ar -o"
export ARFLAGS=""
export AR_FLAGS=""
export AS="as -n32"
# set libtool to verbose V=1
#export V=1
export MAKE=gmake
export PERL=/usr/local/bin/perl
export FREETYPE_CFLAGS="-I/usr/local/include/freetype2"
export FREETYPE_LIBS="-L/usr/local/lib -lfreetype"
export FONTCONFIG_PATH=/usr/local/etc/fonts/conf.d
export FONTCONFIG_FILE=/usr/local/etc/fonts/fonts.conf

./configure
gmake
gijoe77
Tezro

Trade Count: (1)
Posts: 644
Threads: 34
Joined: Jun 2018
Find Reply
03-21-2019, 06:21 PM


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)