Welcome to mirror list, hosted at ThFree Co, Russian Federation.

readme.md « Test.CoreLib « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d05eca4ffc27bca9bdd4d9dd93e0139e20f7c378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Test.CoreLib

This is a minimum viable core library for test purposes.

## How to use this

Test.CoreLib gets built as part of the repo. After you build the repo:

1. Compile your test program against Test.CoreLib

```
csc /noconfig /nostdlib Program.cs /r:<repo_root>\bin\Product\Windows_NT.x64.Debug\Test.CoreLib\Test.CoreLib.dll /out:repro.exe
```

2. Compile the IL with ILC

Use ilc.exe that was built with the repo to compile the program.

```
ilc repro.exe -o:repro.obj -r:<repo_root>\bin\Product\Windows_NT.x64.Debug\Test.CoreLib\Test.CoreLib.dll --systemmodule Test.CoreLib
```

3. Use native linker to link