# llvm3.0 **Repository Path**: mcu_rookie/llvm3 ## Basic Information - **Project Name**: llvm3.0 - **Description**: 将LLVM3.0支持到最新的GCC可编译。 - **Primary Language**: Unknown - **License**: NCSA - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-10-14 - **Last Updated**: 2024-10-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Low Level Virtual Machine (LLVM) ================================ This directory and its subdirectories contain source code for the Low Level Virtual Machine, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. Please see the HTML documentation provided in docs/index.html for further assistance with LLVM. If you're writing a package for LLVM, see docs/Packaging.html for our suggestions. ## linux: ```bash ./configure && make -j8 && make install ``` ## mingw64-make: ```bash mkdir build && cd build \ && cmake .. -G "MinGW Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make.exe -DMSYS=ON -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_INSTALL_PREFIX=/mingw64/ \ && cmake --build . ``` ## mingw64-ninja: ```bash mkdir build && cd build \ cmake .. -G "Ninja" -DMSYS=ON -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_INSTALL_PREFIX=/mingw64/ \ && cmake --build . ``` Modify llvm-config.in: ```c // build\tools\llvm-config\llvm-config.in - #!D:/app/skyeye64-development-tools/usr/bin/perl.exe + #!/usr/bin/perl.exe ``` install: ```bash make install ```