comparison gcc/doc/fragments.texi @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 @c Copyright (C) 1988-2018 Free Software Foundation, Inc. 1 @c Copyright (C) 1988-2020 Free Software Foundation, Inc.
2 @c This is part of the GCC manual. 2 @c This is part of the GCC manual.
3 @c For copying conditions, see the file gcc.texi. 3 @c For copying conditions, see the file gcc.texi.
4 4
5 @node Fragments 5 @node Fragments
6 @chapter Makefile Fragments 6 @chapter Makefile Fragments
61 @xref{Initialization}. 61 @xref{Initialization}.
62 62
63 @findex MULTILIB_OPTIONS 63 @findex MULTILIB_OPTIONS
64 @item MULTILIB_OPTIONS 64 @item MULTILIB_OPTIONS
65 For some targets, invoking GCC in different ways produces objects 65 For some targets, invoking GCC in different ways produces objects
66 that can not be linked together. For example, for some targets GCC 66 that cannot be linked together. For example, for some targets GCC
67 produces both big and little endian code. For these targets, you must 67 produces both big and little endian code. For these targets, you must
68 arrange for multiple versions of @file{libgcc.a} to be compiled, one for 68 arrange for multiple versions of @file{libgcc.a} to be compiled, one for
69 each set of incompatible options. When GCC invokes the linker, it 69 each set of incompatible options. When GCC invokes the linker, it
70 arranges to link in the right version of @file{libgcc.a}, based on 70 arranges to link in the right version of @file{libgcc.a}, based on
71 the command line options used. 71 the command line options used.
210 the second it will not. 210 the second it will not.
211 211
212 For configurations that support both multilib and multiarch, 212 For configurations that support both multilib and multiarch,
213 @code{MULTILIB_OSDIRNAMES} also encodes the multiarch name, thus 213 @code{MULTILIB_OSDIRNAMES} also encodes the multiarch name, thus
214 subsuming @code{MULTIARCH_DIRNAME}. The multiarch name is appended to 214 subsuming @code{MULTIARCH_DIRNAME}. The multiarch name is appended to
215 each directory name, separated by a colon (e.g. 215 each directory name, separated by a colon (e.g.@:
216 @samp{../lib32:i386-linux-gnu}). 216 @samp{../lib32:i386-linux-gnu}).
217 217
218 Each multiarch subdirectory will be searched before the corresponding OS 218 Each multiarch subdirectory will be searched before the corresponding OS
219 multilib directory, for example @samp{/lib/i386-linux-gnu} before 219 multilib directory, for example @samp{/lib/i386-linux-gnu} before
220 @samp{/lib/../lib32}. The multiarch name will also be used to modify the 220 @samp{/lib/../lib32}. The multiarch name will also be used to modify the