mingw building no longer needed

This commit is contained in:
zeromus 2017-04-28 23:28:37 -05:00
parent d8fd403ea2
commit c448b1d34b
8 changed files with 0 additions and 90 deletions

View File

@ -1,2 +0,0 @@
rm -r bsnes/obj
rm -r bsnes/out

View File

@ -1,3 +0,0 @@
#!/bin/sh
./bizwinmakeone.sh 32 performance

View File

@ -1,11 +0,0 @@
#this is for using the dll libco, and so the threads implementation can be used, for easier debugging
cd bsnes
mkdir obj
mkdir out
export BIZWINCFLAGS="-I. -O3 -masm=intel -DLIBCO_IMPORT -DLIBCO_MSVC -static-libgcc -static-libstdc++"
#for gdb debugging
#export BIZWINCFLAGS="-I. -O0 -g -masm=intel -DLIBCO_IMPORT -DLIBCO_MSVC -static-libgcc -static-libstdc++"
export TARGET_LIBSNES_LIBDEPS="-L ../libco_msvc_win32/release/ -llibco_msvc_win32 -static-libgcc -static-libstdc++"
profile=compatibility platform=win target=libsnes make -e -j 4
cd ..
cp bsnes/out/snes.dll ../BizHawk.MultiClient/output/dll/libsneshawk.dll

View File

@ -1,14 +0,0 @@
#!/bin/sh
#makes all bsnes binaries for distribution
#use bizwinmakedistro64.sh for 64bit (dont run it at the same time!)
./bizwinclean.sh
./bizwinmakeone.sh 32 performance compress
./bizwinclean.sh
./bizwinmakeone.sh 32 accuracy compress
./bizwinclean.sh
./bizwinmakeone.sh 32 compatibility compress
#leave compatibility built as objs because thats more useful to us while devving

View File

@ -1,12 +0,0 @@
#!/bin/sh
#makes all bsnes binaries for distribution
#use bizwinmakedistro64.sh for 64bit (dont run it at the same time!)
./bizwinclean.sh
./bizwinmakeone.sh 64 performance compress
./bizwinclean.sh
./bizwinmakeone.sh 64 compatibility compress
#leave compatibility built as objs because thats more useful to us while devving

View File

@ -1,36 +0,0 @@
#!/bin/sh -x
#this is for using the fast libco, hand-coded by byuu. the dll isnt used, and so the threads implementation wont be useful, so it cant be debugged easily
cd bsnes
mkdir obj
mkdir out
if [ "$1" == "64" ]; then
export cflags64=-m64 ;
export compiler=i686-w64-mingw32-c++.exe
fi
if [ "$1" == "32" ]; then
export cflags32=-llibco_msvc_win32 ;
fi
#debug:
#export BIZWINCFLAGS="-I. -O0 -g -masm=intel -DHOOKS -DLIBCO_IMPORT -DLIBCO_MSVC -static-libgcc -static-libstdc++"
#not debug
export BIZWINCFLAGS="-I. -O3 -masm=intel -DHOOKS -static-libgcc -static-libstdc++ ${cflags64}"
export TARGET_LIBSNES_LIBDEPS="-L ../libco_msvc_win32/release/ -static -static-libgcc -static-libstdc++ ${cflags64} ${cflags32} -mwindows"
export profile=$2
export bits=$1
platform=win target=libsnes make -e -j 4
cd ..
filename=libsneshawk-${bits}-${profile}.exe
targetdir=../output/dll
targetpath=${targetdir}/${filename}
cp bsnes/out/${filename} ${targetdir}
if [ "$3" == "compress" ]; then
upx -9 ${targetpath} ;
fi

View File

@ -1,3 +0,0 @@
#!/bin/sh
./bizwinmakeone.sh performance

View File

@ -1,9 +0,0 @@
64bit building:
( http://stackoverflow.com/questions/10325696/mingw-64-bit-install-trouble )
install http://code.google.com/p/mingw-builds/downloads/detail?name=i686-mingw32-gcc-4.7.0-release-c,c%2b%2b,fortran-sjlj.zip&can=2&q= to c:\mingw64
copy msys from c:\mingw into c:\mingw64; edit the new msys's fstab file to point to mingw64 instead of mingw
run bizwinmakedistro64.sh from the mingw64's msys