mkdir my-build-output cd my-build-output ../configure |
sudo yum install ccache
. To enable ccache, add the following settings to your environment before running any make
targets
export CC="/usr/bin/ccache gcc" export CXX="/usr/bin/ccache g++" |
autoreconf -if
once, subsequent times you can just run autoreconf
to speed things up a bit.autoreconf
or configure
. Built into the Makefile is the ability to regenerate itself, simply run your target as you normally would. If you make a change that is of improper syntax, you will have to rerun autoreconf
and configure
./config.status --recheck && ./config.status
./configure
Tips./configure
script run as part of the build proccess is used to define build settings and enable or disable options. Here are some useful settings and modes of operation you may find useful.
OPENFIRE_HOME=path-to-openfire |
/usr/local/sipx |
--prefix=/opt/sipx |
configure |
--cache-file=/tmp/ac-cache-file |
make
Tipsmake -s