Home  >  Q&A  >  body text

linux - 编译安装东西的时候make -j4,make -j8表示什么意思?

编译安装东西的时候make -j4,make -j8表示什么意思?几个核同时编译?假如只有1核,参数是什么呢?

大家讲道理大家讲道理2742 days ago777

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 14:38:25

    Don’t add the j parameter for a single core. GCC uses one core by default when compiling, so if you want to take advantage of multi-core CPUs, add the j parameter

    reply
    0
  • Cancelreply