Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) to link

 

to link is combining all compilation units of a project into a single executable, which is performed by a linker.

 

Linking takes place after compiling. An error during linking is called a link error.

 

There are two types of linkage:

 

 

 

 

 

Qt Creator Linking against a library in Qt Creator

 

Linking against a library in Qt Creator depends on your operating system:

 

 

 

 

 

 

Qt Creator static linking in Qt Creator

 

When you want to create a stand-alone application (that is: no DLL's nor LIB's, just one single executable file), you will need to do static linking.

 

 

 

 

 

External links

 

 

 

 

 

 

References

 

  1. John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 1.1.2
  2. John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 2.3.1

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict