# third_party_libelf **Repository Path**: itopen/third_party_libelf ## Basic Information - **Project Name**: third_party_libelf - **Description**: fork from https://github.com/WolfgangSt/libelf.git - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-07 - **Last Updated**: 2024-12-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # libelf库移植 ## 一、源码获取 源码下载路径如下,本仓采用的是master https://github.com/WolfgangSt/libelf ## 二、编译介绍 ### 2.1 基于riscv64架构编译 ```shell ./configure --prefix=$PWD/_install CC=riscv64-linux-gnu-gcc --host=riscv64-linux make CC=riscv64-linux-gnu-gcc -j32 && make install ``` ### 2.2 基于aarch64架构编译 ```shell ./configure --prefix=$PWD/_install CC=aarch64-linux-gnu-gcc --host=aarch64-linux make -j$(nproc) && sudo make install ``` ### 2.3 基于x86_64架构编译 ```shell ./configure make -j$(nproc) && sudo make install ```