1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-11 02:13:38 +09:00

Update linux-instructions.md

Substituted Unix with Linux in paths

Commit migrated from 8ab7d037b3
This commit is contained in:
Christian Jacobsen 2015-04-28 21:45:47 +02:00
parent e47adb4cf5
commit 0729fc9d4e

View file

@ -78,7 +78,7 @@ You will build ```mscorlib.dll``` out of the coreclr repository and the rest of
D:\git\coreclr> build.cmd linuxmscorlib
```
The output is placed in ```bin\obj\Unix.x64.Debug\mscorlib.dll```. You'll want to copy this to the runtime folder on your Linux machine. (e.g. ```~/coreclr-demo/runtime```)
The output is placed in ```bin\obj\Linux.x64.Debug\mscorlib.dll```. You'll want to copy this to the runtime folder on your Linux machine. (e.g. ```~/coreclr-demo/runtime```)
For the rest of the framework, you need to pass some special parameters to build.cmd when building out of the CoreFX repository.
@ -88,7 +88,7 @@ D:\git\corefx> build.cmd /p:OS=Linux /p:SkipTests=true
It's also possible to add ```/t:rebuild``` to the build.cmd to force it to delete the previously built assemblies.
For the purposes of Hello World, you need to copy over both ```bin\Unix.AnyCPU.Debug\System.Console\System.Console.dll``` and ```bin\Unix.AnyCPU.Debug\System.Diagnostics.Debug\System.Diagnostics.Debug.dll``` into the runtime folder on Linux. (e.g ```~/coreclr-demo/runtime```).
For the purposes of Hello World, you need to copy over both ```bin\Linux.AnyCPU.Debug\System.Console\System.Console.dll``` and ```bin\Linux.AnyCPU.Debug\System.Diagnostics.Debug\System.Diagnostics.Debug.dll``` into the runtime folder on Linux. (e.g ```~/coreclr-demo/runtime```).
After you've done these steps, the runtime directory on Linux should look like this:
@ -201,4 +201,4 @@ ellismg@linux:~/coreclr-demo/runtime$ ./corerun HelloWorld.exe linux
Over time, this process will get easier. We will remove the dependency on having to compile managed code on Windows. For example, we are working to get our NuGet packages to include both the Windows and Linux versions of an assembly, so you can simply nuget restore the dependencies.
Pull Requests to enable building CoreFX and mscorlib on Linux via Mono would be very welcome. A sample that builds Hello World on Linux using the correct references but via XBuild or MonoDevelop would also be great! Some of our processes (e.g. the mscorlib build) rely on Windows specific tools, but we want to figure out how to solve these problems for Linux as well. There's still a lot of work ahead, so if you're interested in helping, we're ready for you!
Pull Requests to enable building CoreFX and mscorlib on Linux via Mono would be very welcome. A sample that builds Hello World on Linux using the correct references but via XBuild or MonoDevelop would also be great! Some of our processes (e.g. the mscorlib build) rely on Windows specific tools, but we want to figure out how to solve these problems for Linux as well. There's still a lot of work ahead, so if you're interested in helping, we're ready for you!