• Home
  • Raw
  • Download

Lines Matching +full:host +full:- +full:gcc

9 target_alias=${target_alias-$host_alias}
11 case "${host}" in
12 frv*-elf)
13 LDFLAGS=`echo $LDFLAGS | sed "s/\-B[^ ]*libgloss\/frv\///"`\ -B`pwd`/../libgloss/frv/
21 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
23 # the wrong, non-multilib-adjusted value will be used in multilibs.
44 # Test for 64-bit build.
55 if test "x$GCC" = "xyes"; then
56 CFLAGS="$CFLAGS -fexceptions"
70 dnl The -no-testsuite modules omit the test subdir.
71 AM_CONDITIONAL(TESTSUBDIR, test -d $srcdir/testsuite)
76 . ${srcdir}/configure.host
78 if test -n "${UNSUPPORTED}"; then
79 AC_MSG_ERROR(["libffi has not been ported to $host."])
93 if test -z "$HAVE_LONG_DOUBLE"; then
120 CFLAGS="$CFLAGS -fpic"
121 LDFLAGS="$LDFLAGS -shared"
132 AC_CACHE_CHECK([assembler .register pseudo-op support],
150 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
151 if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then
166 if $CC $CFLAGS -S conftest.c > /dev/null 2>&1; then
167 if grep -q brasl conftest.s; then
181 [ --enable-pax_emutramp enable pax emulated trampolines, for we can't use PROT_EXEC],
194 *arm*-apple-* | aarch64-apple-*)
200 *-apple-* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris* | *-linux-android*)
229 if $CC -Wa,--fatal-warnings $CFLAGS -c conftest1.s > /dev/null 2>&1 && \
240 if test "x$GCC" = "xyes"; then
241 AC_CACHE_CHECK([whether .eh_frame section should be read-only],
245 if $CC $CFLAGS -c -fpic -fexceptions -o conftest.o conftest.c > /dev/null 2>&1; then
246 objdump -h conftest.o > conftest.dump 2>&1
247 libffi_eh_frame_line=`grep -n eh_frame conftest.dump | cut -d: -f 1`
250 sed -n $libffi_test_line conftest.dump > conftest.line
256 rm -f conftest.*
260 [Define if .eh_frame sections should be read-only.])
272 if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD); then
277 rm -f conftest.*
286 AC_HELP_STRING([--disable-docs],
326 [ --enable-debug debugging mode],
333 [ --disable-structs omit code for struct support],
339 AC_ARG_ENABLE(raw-api,
340 [ --disable-raw-api make the raw api unavailable],
345 AC_ARG_ENABLE(purify-safety,
346 [ --enable-purify-safety purify-safe mode],
351 AC_ARG_ENABLE(multi-os-directory,
352 [ --disable-multi-os-directory
353 … disable use of gcc --print-multi-os-directory to change the library installation directory])
355 # These variables are only ever used when we cross-build to X86_WIN32.
356 # And we only support this with GCC, so...
357 if test "x$GCC" = "xyes"; then
358 if test -n "$with_cross_host" &&
363 toolexecdir='${libdir}'/gcc-lib/'$(target_alias)'
367 multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
382 AC_CONFIG_COMMANDS(include, [test -d include || mkdir include])
384 test -d src || mkdir src
385 test -d src/$TARGETDIR || mkdir src/$TARGETDIR