FAQ:Compiling 01
From Net-SNMP Wiki
How do I compile with 'cc' instead of 'gcc'?
Run configure
with --with-cc=cc
Note that if you've already run configure
once, it will probably have
detected the presence of 'gcc'
, cached this information, and may still
try to use this anyway. In which case, simply remove the 'config.cache'
file before re-running configure
.
FAQ:Compiling
- How do I control the environment used to compile the software?
- How do I control the environment used to compile the software under Windows?
- Why does the compilation complain about missing libraries?
- How can I reduce the memory footprint?
- How can I reduce the installation footprint or speed up compilation?
- How can I compile the project for use on an embedded system?
- How can I compile the project to use static linking?
- Why does 'make test' skip various tests?
- Why does 'make test' complain about a pid file?