Install Clang as User (no Root Privileges)?

后端 未结 3 2039
野性不改
野性不改 2021-02-20 06:43

I have access to a shell account at University as a user but with no root privileges. The server is running Ubuntu 8.04 - Hardy. I wish to use Clang as my C compiler for next se

3条回答
  •  盖世英雄少女心
    2021-02-20 06:53

    As the project appears to use autotools you can alter the installation destination with command line parameters to the configure program (e.g. --prefix=$HOME/clang). Running ./configure --help and reading the INSTALL text file will give you more details.

    If not already installed, you also need to build LLVM, which is the parent project (Low Level Virtual Machine) as well. Installation instructions for both are available at the clang website.

提交回复
热议问题