From 610772fb4b78218ccfd40f4bc0465fada6d2ebad Mon Sep 17 00:00:00 2001 From: John Cronin Date: Thu, 2 Nov 2017 17:24:12 +0000 Subject: [PATCH] Retarget to netstandard 2.0 (.net 4.6.1 for tools build on windows, net core 2.0 for libraries used at runtime) --- .gitmodules | 4 - corefx | 2 +- libsupcs/libsupcs.csproj | 11 +- libtysila5/libtysila5.csproj | 7 +- libtysila5/target/x86/x86_Assembler.cs | 7 + metadata/PEFile.cs | 2 +- metadata/metadata.csproj | 4 +- tl/binary_library/BinaryFile.cs | 2 + tl/binary_library/IBinaryFile.cs | 3 + tl/binary_library/binary/hex.cs | 23 +- tl/binary_library/binary_library.csproj | 13 +- tl/binary_library/elf/ElfFile.cs | 4 + tymake/Program.cs | 27 +- tymake/RuleFor.cs | 38 +- tymake/stdlib.tmh | 39 +- tymake/tysos.tmk | 173 +++++---- tymake_lib/Expression.cs | 95 +++-- tymake_lib/Statement.cs | 40 ++- tymake_lib/tml.conflicts | 2 +- tymake_lib/tml.cs | 2 +- tymake_lib/tml.y | 1 + tymake_lib/tmlp.cs | 294 +++++++-------- typroject/Expression.cs | 22 +- typroject/GenerateResourcesCode.cs | 3 + typroject/Program.cs | 337 +++++++++++++---- typroject/typ.conflicts | 2 +- typroject/typ.cs | 338 ++++++++++++------ typroject/typ.lex | 1 + typroject/typ.y | 3 +- typroject/typp.cs | 186 +++++----- typroject/typroject.csproj.user | 2 +- tysila4/COutput.cs | 206 +++++------ tysila4/tysila4.csproj | 8 - tysos/tysos.csproj | 15 +- .../char-conversions/char-conversions.csproj | 9 - 35 files changed, 1250 insertions(+), 675 deletions(-) diff --git a/.gitmodules b/.gitmodules index 88d7fca3..f70ce976 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,7 +7,3 @@ path = corefx url = https://github.com/dotnet/corefx.git branch = release/2.0.0 - -[submodule "tymake/ILMerge"] - path = tymake/ILMerge - url = https://github.com/Microsoft/ILMerge.git diff --git a/corefx b/corefx index a7d59c16..f997049c 160000 --- a/corefx +++ b/corefx @@ -1 +1 @@ -Subproject commit a7d59c16e8e1f7975b26e0f9780eadcd8526cbab +Subproject commit f997049cd490961aae8f2685ff86c867401ab1cc diff --git a/libsupcs/libsupcs.csproj b/libsupcs/libsupcs.csproj index 858478ac..68830fb6 100644 --- a/libsupcs/libsupcs.csproj +++ b/libsupcs/libsupcs.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,7 @@ Properties libsupcs libsupcs - v3.5 + v4.6.1 512 @@ -23,6 +23,7 @@ prompt 4 true + false pdbonly @@ -32,6 +33,7 @@ prompt 4 true + false bin\Compile libsupcs\ @@ -44,6 +46,7 @@ false false false + false true @@ -54,6 +57,7 @@ AnyCPU prompt ManagedMinimumRules.ruleset + false @@ -77,9 +81,6 @@ - - - diff --git a/libtysila5/libtysila5.csproj b/libtysila5/libtysila5.csproj index 3a0ca364..4222bc6a 100644 --- a/libtysila5/libtysila5.csproj +++ b/libtysila5/libtysila5.csproj @@ -9,7 +9,7 @@ Properties libtysila5 libtysila5 - v3.5 + v4.6.1 512 @@ -22,6 +22,7 @@ prompt 4 true + false pdbonly @@ -31,6 +32,7 @@ prompt 4 true + false @@ -99,9 +101,6 @@ - - -