[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
In gcc, multilibs are defined by setting the variable `MULTILIB_OPTIONS' in the target `Makefile' fragment. Several other `MULTILIB' variables may also be defined there. See section `The Target Makefile Fragment' in Using and Porting GNU CC.
If you have built gcc, you can see what multilibs it uses by running it with the `-print-multi-lib' option. The output `.;' means that no multilibs are used. In general, the output is a sequence of lines, one per multilib. The first part of each line, up to the `;', is the name of the multilib directory. The second part is a list of compiler options separated by `@' characters.
Multilibs are built in a tree of directories. The top of the tree, represented by `.' in the list of multilib directories, is the default library to use when no special compiler options are used. The subdirectories of the tree hold versions of the library to use when particular compiler options are used.