1.環境: /home/jello # uname -aLinux 3.10.0 #2 SMP Mon Mar 6 17:52:09 CST 2017 armv7l GNU/Linux 2.獲取mono源碼 wget download.mono-project.com/sources/mono/mo ...
1.環境:
/home/jello # uname -a
Linux 3.10.0 #2 SMP Mon Mar 6 17:52:09 CST 2017 armv7l GNU/Linux
2.獲取mono源碼
wget download.mono-project.com/sources/mono/mono-5.4.0.167.tar.bz2
3.解壓
tar xvf mono-5.4.0.167.tar.bz2
4.切換目錄
cd mono-5.4.0.167
5.切換到System.Xml.XmlSerializer.dll庫的源碼目錄下:
cd mcs/class/Facades/System.Xml.XmlSerializer
6.使用mcs編譯System.Xml.XmlSerializer.dll
mcs /target:library /out:System.Xml.XmlSerializer.dll *.cs
編譯System.Net.Primitives.dll也是如上操作:
7.切換回mono的源碼目錄
cd mono-5.4.0.167
8.切換到System.Net.Primitives.dll庫的源碼目錄下:
cd mcs/class/Facades/System.Net.Primitives
9.使用mcs編譯System.Net.Primitives.dll
mcs /target:library /out:System.Net.Primitives.dll *.cs
ok,編譯完成