• Home
  • Raw
  • Download

Lines Matching +full:mingw +full:- +full:long +full:- +full:test

5 #   Copyright 1996-2007 Free Software Foundation, Inc.
11 # modifications, as long as this notice is preserved.
14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
16 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
44 \-*) ;;
48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
53 if test "$GCC" = yes; then
54 wl='-Wl,'
58 wl='-Wl,'
63 wl='-Wl,'
67 mingw* | cygwin* | pw32* | os2*)
70 wl='-Wl,'
73 wl='-Wl,'
77 linux* | k*bsd*-gnu)
80 wl='-Wl,'
83 wl='-Wl,'
86 wl='-Wl,'
89 wl='-lopt='
92 case `$CC -V 2>&1 | sed 5q` in
94 wl='-Wl,'
101 wl='-Wl,'
106 wl='-Wl,'
109 wl='-Qoption ld '
112 wl='-Wl,'
117 wl='-Wl,'
120 wl='-Wl,'
135 cygwin* | mingw* | pw32*)
139 if test "$GCC" != yes; then
153 if test "$with_gnu_ld" = yes; then
157 # Unlike libtool, we use -rpath here, not --rpath, since the documented
158 # option of GNU ld is called -rpath, not --rpath.
159 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
163 if test "$host_cpu" != ia64; then
168 hardcode_libdir_flag_spec='-L$libdir'
179 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
185 cygwin* | mingw* | pw32*)
188 hardcode_libdir_flag_spec='-L$libdir'
189 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
195 interix[3-9]*)
197 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
199 gnu* | linux* | k*bsd*-gnu)
200 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
209 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
211 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
218 case `$LD -v 2>&1` in
219 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
223 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
224 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
235 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
242 if test "$ld_shlibs" = no; then
249 # are no directories specified by -L.
251 if test "$GCC" = yes; then
258 if test "$host_cpu" = ia64; then
264 # Test if we are trying to use run time linking or normal
265 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
269 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
279 if test "$GCC" = yes; then
281 collect2name=`${CC} -print-prog-name=collect2`
282 if test -f "$collect2name" && \
291 hardcode_libdir_flag_spec='-L$libdir'
299 ${CC} ${LDFLAGS} conftest.c -o conftest
300 …aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *…
302 if test -z "$aix_libpath"; then
303 …aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0…
306 if test -z "$aix_libpath"; then
309 rm -f conftest.c conftest
311 if test "$aix_use_runtimelinking" = yes; then
312 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
314 if test "$host_cpu" = ia64; then
315 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
317 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
322 hardcode_libdir_flag_spec='-L$libdir'
329 cygwin* | mingw* | pw32*)
339 if test "$GCC" = yes ; then
352 hardcode_libdir_flag_spec='-L$libdir'
358 hardcode_libdir_flag_spec='-R$libdir'
366 hardcode_libdir_flag_spec='-R$libdir'
378 if test "$with_gnu_ld" = no; then
388 if test "$with_gnu_ld" = no; then
405 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
409 hardcode_libdir_flag_spec='-R$libdir'
414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
418 if test -f /usr/libexec/ld.so; then
420 …if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-p…
421 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
424 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
425 hardcode_libdir_flag_spec='-R$libdir'
428 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
437 hardcode_libdir_flag_spec='-L$libdir'
441 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
445 if test "$GCC" = yes; then
446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
448 # Both cc and cxx compiler support -rpath directly
449 hardcode_libdir_flag_spec='-rpath $libdir'
454 hardcode_libdir_flag_spec='-R$libdir'
457 hardcode_libdir_flag_spec='-L$libdir'
477 if test -d /usr/nec; then
484 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
488 hardcode_libdir_flag_spec='-L$libdir'
499 # only about the one the linker finds when passed -lNAME. This is the last
520 cygwin* | mingw* | pw32*)
558 interix[3-9]*)
569 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
570 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
571 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
579 linux* | k*bsd*-gnu)
582 knetbsd*-gnu)
591 nto-qnx*)
628 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
629 shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
630 escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
631 escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
632 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_qu…
634 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
648 # Library names that the linker finds when passed -lNAME.
655 # Whether we need a single -rpath flag with a separated argument.
662 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the