首页 > 其他分享 >makefile--

makefile--

时间:2024-08-05 22:16:43浏览次数:6  
标签:-- config makefile prefix Print ROOT compiler

MakeFile中经常需要得到系统和编译器的版本
root-config: ROOT utility for your Makefiles

[phil@linux952 ~]$ root-config --cxx
icpx
[phil@linux952 ~]$ root-config -h
Unknown argument "-h"!
Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-<feature>] [--arch] [--platform] [--dicttype] [--config] [--features] [--svn-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help]
[phil@linux952 ~]$ root-config --help
Usage: root-config [options]

  --arch                Print the architecture (compiler/OS)
  --platform            Print the platform (OS)
  --prefix[=dir]        Print or set prefix
  --exec-prefix[=dir]   Print or set execution prefix
  --libs                Print regular ROOT libraries
  --glibs               Print regular + GUI ROOT libraries
  --evelibs             Print regular + GUI + Eve libraries
  --cflags              Print compiler flags and header path
  --ldflags             Print linker flags
  --bindir              Print the executable directory
  --libdir              Print the library directory
  --incdir              Print the header directory
  --etcdir              Print the configuration directory
  --auxlibs             Print auxiliary libraries
  --auxcflags           Print auxiliary compiler flags
  --[no]new             Turn on[off] use of libNew.so
  --noauxlibs           Do not print auxiliary/system libraries
  --noauxcflags         Do not print auxiliary compiler flags
  --noldflags           Do not print linker flags
  --config              Print arguments used for ./configure
  --features            Print list of all supported features
  --has-<feature>       Test if <feature> is compiled in
  --dicttype            Print dictionary generator being used
  --version             Print the ROOT version
  --svn-revision        Print the ROOT SVN revision number
  --python-version      Print the Python version used by ROOT
  --cc                  Print alternative C compiler specified when ROOT was built
  --cxx                 Print alternative C++ compiler specified when ROOT was built
  --f77                 Print alternative Fortran compiler specified when ROOT was built
  --ld                  Print alternative Linker specified when ROOT was built
  --help                Print this message
[phil@linux952 ~]$ ^C

标签:--,config,makefile,prefix,Print,ROOT,compiler
From: https://www.cnblogs.com/zhaopw5/p/18344159

相关文章

  • 数据结构 顺序与链式二叉树的原理与实现(万字)
    目录一、树概念及结构树的概念树的相关概念树的表示二、二叉树概念及结构概念特殊的二叉树二叉树的性质二叉树的存储结构三、二叉树的顺序结构及实现二叉树的顺序结构堆的概念及结构堆的实现堆向下调整算法堆的创建建堆时间复杂度堆的插入堆的删除堆的代码实现Heap.hHeap.c堆的应......
  • 数据库复习
    绪论1、数据库(DB):长期存储在计算机内、有组织、可共享的大量数据的集合。数据库中的数据按照一定的数据模型组织、描述和存储,具有娇小的冗余度、交稿的数据独立性和易扩展性,并可为各种用户共享。2、数据库管理系统(DBMS):位于用户和操作系统间的数据管理系统的一层数据管理软件......
  • [COCI2015-2016#3] NEKAMELEONI 题解
    前言题目链接:LOJ;洛谷。题意简述在二叉树上,不断删除叶子,你要维护其树链剖分后重儿子编号和。如果两个孩子大小相同,在一开始连向左儿子,或者保持修改前的连接。\(n\leq2\times10^5\)。题目分析有分块的、有二分的,那我来讲一讲我的想法——树剖维护树剖。首先反转操作,不断......
  • 2024 睿抗机器人开发者大赛CAIP-编程技能赛-本科组(国赛)
    2024睿抗机器人开发者大赛CAIP-编程技能赛-本科组(国赛)前言补题只补了前四道,第五题打个暴力都有\(24\)分,我这死活只有\(22\)分\(QAQ\)RC-u1大家一起查作弊思路按题意模拟。不过很奇怪赛时用getline老是读入不了,还好换成cin直接读也问题不大。代码#include<bits......
  • 异常的处理
    异常的处理只有两种方式抛出异常捕获异常抛出异常什么是抛出异常?目前为止任何异常,默认的处理方式都是抛出所谓抛出异常就是直接将错误信息打印到控制台怎么声明抛出异常?如果是运行时异常,不用处理,默认就会自动抛出如果是编译期异常,想要抛出异常,语法是位置:在方......
  • 包装类共同点
    .所有包装类都重写了Object方法我们也很容易知道Object的方法有1.1equalsequals基本上用于判断当前对象和参数传入的对象是否相同,Object类的默认实现是比较地址。对于两个变量,指向同一个对象地址时,equals才会返回true,与==运算符结果相同。一般这个默认实现是不符合我们需要的......
  • 算术运算符里的特殊运算符
    1.++(自加)给一个数加1自加分为两种,一个是++a,另一个是a++a++:先给数赋值,然后再给a加1++a:先给a加1,然后再给数赋值2.--(自减)给一个数减1......
  • P2150 [NOI2015] 寿司晚宴
    思路:注意到对于每个数,其\(>19\)的质因数最多只有\(1\)个,称为大质数;对于\(\le19\)的质因数有\(8\)个,称为小质数。设第\(i\)个数的小质数集合为\(h_i\)。那么考虑对于所有数按照大质数从小到大排序,那么对于大质数相同的一段,只能放在两个集合中的一个。考虑状态压缩......
  • vite和webpack的区别
    内核区别最明显区别是及时编译和打包编译,开发编译速度上的区别。配置区别主要区别就是webpack有loader和plugins配置,vite直接是plugins为主体。viteplugins中配置编译器和插件:其他json配置大同小异。参考文章https://zxuqian.cn/difference-between-vite-and-webpac......
  • abstract关键字以及与public,final,static的关系 day09
    多态程序中,第一大前提要有继承关系。但是呢,比如上午写的动物案例,我们将狗,猫,猪这些具体的动物分别编写了一个类进行对应这都是没问题的。但是呢,动物本身应该是一个抽象的概念,我们在现实生活中其实是找到不到Animal的实例的。具体的事物,我们就可以使用java代码......