0

我正在研究铬中的 gyp 和 gypi 文件。cflags和的作用是ldflags什么?

下面的代码是什么意思?

 'cflags': '<!@(<(pkg-config) --cflags gstreamer-0.10)',

 'ldflags': '<!@(<(pkg-config) --libs-only-L --libs-only-other gstreamer-0.10)',
4

1 回答 1

2

I had to study about makefile. and found :

cflags - this is used to set environment variable and configuration option for C compiler
ldflag - flag for ld linker

and there are other flags as below :

ARFLAGS - for ar achiver
ASFLAGS - for as assembler
CXXFLAGS - for c++ compiler
COFLAGS - for co utility
CPPFLAGS - for C preprocessor
FFLAGS - for Fortran compiler
LFLAGS - for lex
PFLAGS - for Pascal compiler
YFLAGS - for yacc
于 2014-07-03T05:04:01.623 回答