Produce MS Coff by default when targetting windows (#13110)

* Produce MS Coff by default when targetting windows

This rebases #12825 but doesn't attempt to rename phobos libraries and doesn't change the build infra where possible(and doesn't have a large diff in `link.d`). See if this fixes the CI issues.

* remove OMF piplines

* Update glue.d

* Update target.d

* Update target.d

* Update frontend.h
This commit is contained in:
Nicholas Wilson 2022-01-21 16:09:52 +08:00 committed by GitHub
parent 51cd4c11e2
commit 7d1f4440f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 61 additions and 59 deletions

View file

@ -73,8 +73,11 @@ fi
################################################################################
# Build DMD (incl. building and running the unittests)
################################################################################
DMD_BIN_PATH="$DMD_DIR/generated/windows/release/$MODEL/dmd"
if [ "$MODEL" == "32omf" ] ; then
DMD_BIN_PATH="$DMD_DIR/generated/windows/release/32/dmd"
else
DMD_BIN_PATH="$DMD_DIR/generated/windows/release/$MODEL/dmd"
fi
cd "$DMD_DIR/src"
"$DM_MAKE" -f "$MAKE_FILE" MAKE="$DM_MAKE" BUILD=debug unittest