asn1c windows
时间: 2023-10-07 08:04:27 浏览: 143
ASN.1 Compiler (asn1c) can be used on Windows by installing Cygwin or MinGW.
To use Cygwin, follow these steps:
1. Download and install Cygwin from https://cygwin.com/install.html
2. During the installation process, select the packages for gcc-core, make, and perl.
3. Download the latest version of asn1c from https://github.com/vlm/asn1c/releases
4. Extract the contents of the asn1c archive to a directory in the Cygwin file system.
5. Open a Cygwin terminal and navigate to the directory containing the asn1c source code.
6. Run the following commands to build and install asn1c:
```
./configure
make
make install
```
To use MinGW, follow these steps:
1. Download and install MinGW from https://sourceforge.net/projects/mingw/
2. During the installation process, select the packages for gcc-core, gcc-g++, and mingw32-make.
3. Download the latest version of asn1c from https://github.com/vlm/asn1c/releases
4. Extract the contents of the asn1c archive to a directory in the MinGW file system.
5. Open a command prompt and navigate to the directory containing the asn1c source code.
6. Run the following commands to build and install asn1c:
```
./configure CC=gcc
mingw32-make
mingw32-make install
```
阅读全文
相关推荐















