diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-29 19:18:54 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-29 19:18:54 +0000 |
commit | 1610a1f6aa54ad1d97926c1d8605720933059df7 (patch) | |
tree | 798e7e0a8fc53429b26d536ecb6ec1a176923ded /doc/INSTALL | |
parent | 99eb1b4c7590cc6a8328245e6ec1427ca4d16555 (diff) | |
download | netpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.tar.gz netpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.tar.xz netpbm-mirror-1610a1f6aa54ad1d97926c1d8605720933059df7.zip |
Update Advanced series to Release 10.67
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2221 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'doc/INSTALL')
-rw-r--r-- | doc/INSTALL | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/INSTALL b/doc/INSTALL index 33bb4bc7..9ed6e131 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -170,6 +170,32 @@ If you figure out how to install on other platforms, contact the Netpbm maintainer to have the 'configure' program or these instructions improved for the next person. +If you want to use a compiler other than your system default, set +the CC value in config.mk to the shell command name for your compiler, +e.g. + + CC=clang-3 + +You can also override it on the Make command line, which is especially +useful if you want to build some parts with one compiler and other parts +with another compiler: + + $ make pamflip CC=clang-3 + +To get appropriate defaults when you run 'configure', you can also set what +compiler Configure assumes you will be using to build, with an environment +variable: + + $ CC=clang-3 ./configure + +Likewise, you can add compiler flags with a CFLAGS make variable, either set +in config.mk or on the make command line and you can get better get more +appropriate defaults from Configure if you pass the same CFLAGS to Configure +via environment variable. LDFLAGS (linker options) and CPPFLAGS (C +preprocessor options) are similar. + + $ make CFLAGS=-O0 + CUSTOM INSTALLATION ------------------- |