TABLE OF CONTENTS
Compiling
[ Top ] [ Chapter 8 ] [ Concepts ]
CC
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC C compiler.
CFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to CC when compiling C code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4
CPPFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to the preprocessor. Individual packages may append or override this value if they will not build correctly without it.
CXX
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC C++ compiler.
CXXFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to CXX when compiling C++ code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
CFLAGS -Werror=return-type
F77
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC Fortran 77 compiler.
SEE ALSO
FFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to F77 when compiling Fortran 77 code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
CFLAGS
FC
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC Fortran 95 compiler.
SEE ALSO
FCFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to FC when compiling Fortran 95 code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
CFLAGS
GOC
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC Go native-code compiler.
GOFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to GOC when native-compiling Go code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
-ggdb -O2 -pipe
OBJC
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC Objective C compiler.
OBJCFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to OBJC when compiling Objective C code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
CFLAGS
OBJCXX
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The GCC Objective C++ compiler.
OBJCXXFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to OBJCXX when compiling Objective C++ code. Individual packages may append or override this value if they will not build correctly without it.
DEFAULT VALUE
CXXFLAGS
LDFLAGS
[ Top ] [ Compiling ] [ Variables ]
DESCRIPTION
Flags passed to the linker. Individual packages may append or override this value if they will not build correctly without it.
AR
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The static library archiver for the host platform.
DLLTOOL
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The DLL import creation tool for the host platform.
NOTE
This tool is available only on Cygwin, Windows, and embedded PE hosts.
NM
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The symbol listing utility for the host platform.
RANLIB
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The static library indexer for the host platform.
RC
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The Windows resource compiler for the host platform.
NOTE
This tool is available only on Cygwin, Windows, and embedded PE hosts.
STRIP
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The symbol remover for the host platform.
PKG_CONFIG
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The pkg-config utility for the host platform.
CC_SYSROOT
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The sysroot used by CC, i.e. the output of $CC -print-sysroot. This is useful when specifying the location of a package's dependency so that it will be correct both when building natively or cross-compiling (e.g. CYGCONF_ARGS="--with-foo-include=${CC_SYSROOT}/usr/include/foo-1"). This is NOT for specifying installation directories for a package being cross-compiled; see CROSS_SYSROOT instead.
ARCH
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
The Cygwin architecture the binaries are being built for (i686 or x86_64), or "noarch".
NOTE
This variable should only be defined in a .cygport in one of the following cases:
- the package has no Cygwin compiled code, e.g. it consists only of data or scripts, in which case ARCH="noarch" should be defined;
- the package only builds or works on one architecture due to portability issues (e.g. ILP32 assumptions occasionally found in older code), in which case ARCH should be defined to the working architecture, and cygport will refuse to build this package for any other.
This variable is automatically set to "noarch" by certain cygclasses e.g. cross.cygclass.
ARCH_i686
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
Defined only when building binaries for i686 (32-bit) Cygwin.
ARCH_x86_64
[ Top ] [ Compiling ] [ Definitions ]
DESCRIPTION
Defined only when building binaries for x86_64 (64-bit) Cygwin.