mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-07 10:06:09 -05:00
Wipe -s. While it does shrink, having the symbols is useful for debugging.
This commit is contained in:
@@ -386,7 +386,7 @@ struct errorinfo ApplyPatchMem2(file* patch, struct mem inrom, bool verifyinput,
|
||||
if (++errtextid == 2) errtextid=0;
|
||||
if (inf.size_in != inrom.len)
|
||||
{
|
||||
//http://msdn.microsoft.com/en-us/library/vstudio/tcxf1dw6.aspx says %zX is not supported
|
||||
//http://msdn.microsoft.com/en-us/library/vstudio/tcxf1dw6.aspx says %zX is not supported; this is true up to and including Windows Vista
|
||||
//let's define it to whatever they do support.
|
||||
#ifdef _WIN32
|
||||
#define z "I"
|
||||
|
||||
8
make.sh
8
make.sh
@@ -10,12 +10,12 @@ echo 'Windows/Resource (Wine warmup)'
|
||||
wine windres flips.rc rc.o
|
||||
|
||||
echo 'Windows (1/3)'
|
||||
rm flips.exe; CFLAGS=$FLAGS' -fprofile-generate' wine mingw32-make TARGET=windows LFLAGS='-s -lgcov'
|
||||
rm flips.exe; CFLAGS=$FLAGS' -fprofile-generate' wine mingw32-make TARGET=windows LFLAGS='-lgcov'
|
||||
[ -e flips.exe ] || exit
|
||||
echo 'Windows (2/3)'
|
||||
profile/profile.sh 'wine flips.exe' NUL
|
||||
echo 'Windows (3/3)'
|
||||
rm flips.exe; CFLAGS=$FLAGS' -fprofile-use' wine mingw32-make TARGET=windows LFLAGS='-s'
|
||||
rm flips.exe; CFLAGS=$FLAGS' -fprofile-use' wine mingw32-make TARGET=windows LFLAGS=''
|
||||
rm *.gcda rc.o
|
||||
|
||||
#verify there are no unexpected dependencies
|
||||
@@ -30,12 +30,12 @@ rm flips; make TARGET=cli DIVSUF=no
|
||||
|
||||
#create linux binary
|
||||
echo 'GTK+ (1/3)'
|
||||
rm flips; CFLAGS=$FLAGS' -fprofile-generate' make TARGET=gtk LFLAGS='-s -lgcov'
|
||||
rm flips; CFLAGS=$FLAGS' -fprofile-generate' make TARGET=gtk LFLAGS='-lgcov'
|
||||
[ -e flips ] || exit
|
||||
echo 'GTK+ (2/3)'
|
||||
profile/profile.sh ./flips
|
||||
echo 'GTK+ (3/3)'
|
||||
rm flips; CFLAGS=$FLAGS' -fprofile-use' make TARGET=gtk LFLAGS='-s'
|
||||
rm flips; CFLAGS=$FLAGS' -fprofile-use' make TARGET=gtk LFLAGS=''
|
||||
rm *.gcda
|
||||
mv flips ~/bin/flips # keeping this one for myself
|
||||
|
||||
|
||||
Reference in New Issue
Block a user