build script comments & todos & cleanup

This commit is contained in:
Andrew Tonner 2017-01-18 19:01:49 -08:00
parent 7ef9f10712
commit ffd6294943
2 changed files with 6 additions and 3 deletions

View File

@ -38,6 +38,7 @@ CXXFLAGS = @CXXFLAGS@ $(SDL_CFLAGS)
CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../slirp
DEFS = @DEFS@
LDFLAGS = @LDFLAGS@ -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
#TODO remove pthread part of that if irrelevant
LIBS = @LIBS@ -lws2_32 -lwsock32 -liphlpapi
CPUSRCS = @CPUSRCS@
PERL = @PERL@

View File

@ -1,5 +1,5 @@
#
# A python 2.7 script to fetch all dependencies and build Sheepshaver using MSYS
# A python 2.7 script to fetch all dependencies and build Sheepshaver using MSYS / mingw
#
import argparse
import glob
@ -12,9 +12,11 @@ import zipfile
import sys
from contextlib import contextmanager
import datetime
import shutil
# TODO keep track of the values for these flags used for the previous compile and
# redo the macemu configures if they change
MACEMU_CFLAGS = "-mwin32"
# TODO check if __STRICT_ANSI__ is still required since we switched to gnu++11
MACEMU_CXXFLAGS = "-mwin32 -std=gnu++11"
@ -563,7 +565,7 @@ def main():
if num_threads > 1:
make_args.append("-j%d" % num_threads)
log("Install to %s" % options.install_to_dir)
log("Will install to %s" % options.install_to_dir)
install(make_args, options.show_build_environment, install_to_dir=options.install_to_dir)