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