Multilib/Eclasses

The multilib projects maintains a few eclasses to help developers integrating multilib support in their projects. While the use of any eclass is not technically necessary, it is convenient and provides flexibility in adding new ABIs.

multilib.eclass
The multilib.eclass is not a part of the gx86-multilib eclass suite. It predates the initiative, and provides two kinds of functions:


 * 1) common functions to improve support for multilib systems, e.g. get_libdir,
 * 2) functions to help building packages for multiple ABIs implicitly.

The first category is used commonly by multilib and non-multilib ebuilds. If a multilib ebuild uses one of those functions, it needs to explicitly inherit multilib.

The second category is deprecated and must not be used in new multilib packages.

gx86-multilib eclass suite
The suite consists of the following eclasses: