先要安装libunwind,
libunwind库为基于64位CPU和操作系统的程序提供了基本的堆栈辗转开解功能,32位操作系统不要安装。其中包括用于输出堆栈跟踪的API、用于以编程方式辗转开解堆栈的API以及支持C++异常处理机制的API。
The primary goal of this project is to define a portable and efficient C programming interface (API) to determine the call-chain of a program.
wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.1.tar.gz tar -xf libunwind-1.1.tar.gz cd libunwind-1.1 ./configure make make install
执行命令:
curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ~/dotnet sudo ln -s ~/dotnet/dotnet /usr/local/bin mkdir hwapp cd hwapp dotnet new dotnet restore dotnet run
时间: 2024-10-15 22:02:24