小编use*_*707的帖子

在没有 root 用户的情况下在 Alpine 上构建 GCC 时,出现错误:在 $PATH 中找不到可接受的 C 编译器

我正在尝试在 Alpine Linux 上构建 GCC。我没有 root 访问权限或启用 sudo 的用户。我正在关注GCC Wiki。我得到了这个输出。

~/objdir $ $PWD/../gcc-5.2.0/configure --prefix=$HOME/gcc-5.2.0 --enable-languages=c,c++,fortran,go
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for libatomic support... …
Run Code Online (Sandbox Code Playgroud)

linux gcc build alpine-linux

4
推荐指数
2
解决办法
4561
查看次数

标签 统计

alpine-linux ×1

build ×1

gcc ×1

linux ×1