Lines Matching refs:library
90 /* What action to take for the c++ runtime library:
95 int library = 0;
97 /* Which c++ runtime library to link. */
126 /* By default, we throw on the math library if we have one. */
163 library = -1;
176 library = (library == 0) ? 1 : library;
185 if (library == 0
190 library = 1;
199 if (library == 0)
200 library = 1;
212 library = -1;
224 library = library >= 0 ? 2 : library;
267 if (library == 0)
278 library = 1;
291 /* Add one for shared_libgcc or extra static library. */
292 num_args = argc + added + need_math + (library > 0) * 4 + 1;
293 /* For libc++, on most platforms, the ABI library (usually called libc++abi)
295 However, a platform might have the ability to forward the ABI library
313 /* Make sure -lstdc++ is before the math library, since libstdc++
315 if (!saw_math && (args[i] & MATHLIB) && library > 0)
321 if (!saw_libc && (args[i] & WITHLIBC) && library > 0)
363 if (library > 0)
366 if (library > 1 && !static_link)
394 /* Add target-dependent static library, if necessary. */
395 if ((static_link || library > 1) && LIBSTDCXX_STATIC != NULL)
403 if (library > 1 && !static_link)
413 else if (library > 0 && need_math)