8
Section 6 sta tes terms for distr ibution of such exe cutables.
When a “work that u ses the Librar y” uses material f rom a header le that i s part of the Libr ary, the object
code for the work may be a de rivative work of t he Library eve n though the source cod e is not.
Whether this is tr ue is especially si gnicant if the wor k can be linked witho ut the Librar y, or if the work is
itself a libra ry. The threshold fo r this to be true is not pr ecisely dened by law.
If such an object l e uses only numeri cal parameter s, data struc ture layouts and a ccessors, and smal l
macros and small inl ine functions (ten l ines or less in leng th), then the use of the obje ct le is unrest ricted,
regardless of wh ether it is legall y a derivative wor k. (Executab les containing this o bject code plus por tions of
the Librar y will still fall und er Section 6.)
Otherwise , if the work is a deri vative of the Libr ary, you may distri bute the object cod e for the work under
the terms of Sect ion 6.
Any executables co ntaining that wor k also fall under Sec tion 6, whethe r or not they are linked di rectly with
the Librar y itself.
6. As an exce ption to the Sectio ns above, you may also comb ine or link a “work tha t uses the Librar y” with
the Librar y to produce a work cont aining portion s of the Library, an d distribute th at work under term s
of your choice, provid ed that the terms pe rmit modicat ion of the work for the cus tomer’s own use and
reverse engine ering for debug ging such modicati ons.
You must give prominen t notice with each copy of th e work that the Libr ary is used in it an d that the
Library an d its use are covered by t his License. You must sup ply a copy of this License. I f the work during
execution display s copyright notices , you must include th e copyright notice for th e Library amo ng them, as
well as a reference d irecting the use r to the copy of this License . Also, you must do one of t hese things:
a) Accompa ny the work with the co mplete correspo nding machine-r eadable source code fo r the Library
including whateve r changes were used in t he work (which must be d istributed un der Sections 1
and 2 above); and, if the wor k is an executable l inked with the Lib rary, with the com plete machine-
readable “wor k that uses the Libr ary”, as object cod e and/or source code, so t hat the user can modi fy
the Librar y and then relink to pr oduce a modied execu table containin g the modied Libr ary. (It is
understood t hat the user who change s the contents of den itions les in the Li brary will not ne cessarily
be able to recompil e the application to u se the modied deni tions.)
b) Use a suita ble shared libra ry mechanism for li nking with the Li brary. A suitab le mechanism is one th at
(1) uses at run time a copy of the li brary alrea dy present on the use r’s computer sys tem, rather tha n
copying librar y functions into t he executable, a nd (2) will operate pro perly with a modi ed version
of the library, if t he user installs o ne, as long as the modi ed version is inte rface-compa tible with the
version that th e work was made with .
c) Accomp any the work with a wr itten offer, valid f or at least three ye ars, to give the sa me user the
materials speci ed in Subsectio n 6a, above, for a char ge no more than the cos t of performing t his
distribution.
d) If distr ibution of the work i s made by offering acces s to copy from a designate d place, offer equiv alent
access to copy the above spe cied materials f rom the same place.
e) Verify t hat the user has alre ady received a copy of the se materials or that y ou have already sent th is
user a copy.
For an executabl e, the required fo rm of the “work that u ses the librar y” must include any da ta and utility
programs need ed for reproducing t he executable fr om it. However, as a specia l exception, the mate rials to
be distribut ed need not include any thing that is nor mally distribu ted (in either sou rce or binary for m) with
the major componen ts (compiler, kernel, an d so on) of the operating s ystem on which the e xecutable runs ,
unless that compon ent itself accompa nies the executab le.
It may happen that th is requirement co ntradicts th e license restri ctions of other pro prietary lib raries that do
not normally accom pany the operating s ystem. Such a cont radiction mea ns you cannot use both th em and
the Librar y together in an execut able that you dist ribute.
7. You may place library facili ties that are a wor k based on the Libra ry side-by-si de in a single librar y together
with other libr ary facilitie s not covered by this Licen se, and distrib ute such a combined lib rary, provided t hat
the separate dis tribution of th e work based on the Li brary and of the o ther library f acilities is other wise
permitted , and provided that yo u do these two things:
a) Accompa ny the combined libr ary with a copy of the s ame work based on th e Library, uncomb ined with
any other librar y facilities. T his must be distr ibuted under the t erms of the Secti ons above.
b) Give promi nent notice with the co mbined librar y of the fact that par t of it is a work base d on the
Library, and ex plaining where to  nd the accompanying un combined form of the sa me work.