# libedit **Repository Path**: hongbinj/libedit ## Basic Information - **Project Name**: libedit - **Description**: This repo stores source of libedit and some scripts to build it. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: build - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-25 - **Last Updated**: 2023-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## How to build Firstly `ncurses` should be built, please refer to [How to build ncurses](https://gitee.com/hongbinj/ncurses#how-to-build). If `clang` and `clang++` is in your `PATH` env, invoke `./build.sh` directly. Otherwise, set `CC` and `CXX` env like: ``` CC=/path/to/clang CXX=/path/to/clang++ ./build.sh -n /path/to/ncurses/install ``` Additional compiler and linker flags can be passed in, e.g. ``` CXXFLAGS="-stdlib=libc++" ./build.sh -n /path/to/ncurses/install ```