gcc: options: -specs

spec
*[spek]
n. 投机, 投机事业, 规格, 说明书, 专业人员
【化】 加工单

编译器读取了file之后,处理这个文件,是为了覆盖默认的编译选项,这些选项会被gcc驱动传递给cc1/cc1plus/as/ld等程序。可以设置多个-specs文件,但是会根据顺序来处理,从左到右。
-specs=file
Process file after the compiler reads in the standard ‘specs’ file, in order to override the defaults which the gcc driver program uses when determining what switches to pass to cc1, cc1plus, as, ld, etc. More than one ‘-specs=file’ can be specified on the command line, and they are processed in order, from left to right. See Section 3.20 [Spec Files], page 507, for information about the format of the file.

这个specs文件有一定的语法格式。

-specs=/usr/lib/rpm/redhat

相关推荐

  1. gcc: options: -specs

    2024-07-10 08:28:05       30 阅读
  2. Spel 表达式

    2024-07-10 08:28:05       44 阅读
  3. SpEL 的使用

    2024-07-10 08:28:05       62 阅读
  4. SpEL表达式使用方法

    2024-07-10 08:28:05       23 阅读
  5. spec文件是干嘛的?

    2024-07-10 08:28:05       32 阅读
  6. SpEL 表达式是什么?

    2024-07-10 08:28:05       26 阅读
  7. Spring SpEL在Flink中的应用-SpEL详解

    2024-07-10 08:28:05       53 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-10 08:28:05       99 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-10 08:28:05       107 阅读
  3. 在Django里面运行非项目文件

    2024-07-10 08:28:05       90 阅读
  4. Python语言-面向对象

    2024-07-10 08:28:05       98 阅读

热门阅读

  1. Python题解Leetcode Hot 100之栈和堆

    2024-07-10 08:28:05       30 阅读
  2. docker容器如何与本地配置文件关联

    2024-07-10 08:28:05       37 阅读
  3. SQL 字段类型-上

    2024-07-10 08:28:05       35 阅读
  4. C++ 入门04:数组与字符串

    2024-07-10 08:28:05       24 阅读
  5. 简谈设计模式之原型模式

    2024-07-10 08:28:05       31 阅读
  6. GPT带我学-设计模式-13策略模式

    2024-07-10 08:28:05       29 阅读
  7. 写一个字符设备的驱动步骤

    2024-07-10 08:28:05       30 阅读
  8. Transformer和Bert的原理是什么

    2024-07-10 08:28:05       29 阅读
  9. 使用tkinter 制作工作流ui

    2024-07-10 08:28:05       25 阅读
  10. postman工具介绍

    2024-07-10 08:28:05       26 阅读
  11. vue-路由自动化

    2024-07-10 08:28:05       21 阅读
  12. el-date-picker 扩展

    2024-07-10 08:28:05       26 阅读
  13. Go语言入门之变量、常量、指针以及数据类型

    2024-07-10 08:28:05       22 阅读
  14. Kotlin 处理livedata数据倒灌

    2024-07-10 08:28:05       25 阅读