How do I build into a specified directory using the “prefix” option of configure?

前端 未结 1 719
甜味超标
甜味超标 2021-01-21 14:08

I am trying to build glibc 2.27 on Clear Linux, obtained here: https://www.gnu.org/software/libc/sources.html

According to the help, I should build into a directory outs

相关标签:
1条回答
  • 2021-01-21 14:24

    You have to create a build-directory and run configure script from it. Your case:

    mkdir /home/james/Downloads/glibc-build/
    cd /home/james/Downloads/glibc-build/
    ~/Downloads/glibc/configure
    

    The --prefix option will change the install directory (make install).

    0 讨论(0)
提交回复
热议问题