Difference between revisions of "Compilers and linkers"
From LPTMS Wiki
m |
|||
Line 16: | Line 16: | ||
==Make== | ==Make== | ||
* on a multiprocessor or multicore machine, using ''make -j<n>'' uses ''n'' parallels processes for building objects which speeds up considerably the compilation. | * on a multiprocessor or multicore machine, using ''make -j<n>'' uses ''n'' parallels processes for building objects which speeds up considerably the compilation. | ||
− | ===Makedepend=== | + | ====Makedepend==== |
* in order to list dependencies of headers to the std library in c++, one rather uses an equivalent of the old [http://en.wikipedia.org/wiki/Makedepend makedepend] command provided by the compiler. For instance, gcc offers the ''gccmakedep'' command. | * in order to list dependencies of headers to the std library in c++, one rather uses an equivalent of the old [http://en.wikipedia.org/wiki/Makedepend makedepend] command provided by the compiler. For instance, gcc offers the ''gccmakedep'' command. |
Revision as of 11:39, 21 April 2011
Compilers
- Gnu compilers : gcc, gfortran
- Clang
- intel free compilers (icc, ifort,...)
Installing
Version Control
Make
- on a multiprocessor or multicore machine, using make -j<n> uses n parallels processes for building objects which speeds up considerably the compilation.
Makedepend
- in order to list dependencies of headers to the std library in c++, one rather uses an equivalent of the old makedepend command provided by the compiler. For instance, gcc offers the gccmakedep command.