OSDN Git Service

* arm/vxarm.h: Split out vxWorks support into separate headerfile
[pf3gnuchains/gcc-fork.git] / gcc / configure.in
index d6e15ea..4ab49ff 100644 (file)
@@ -383,7 +383,7 @@ AC_FUNC_VFORK
 
 GCC_NEED_DECLARATIONS(malloc realloc calloc free bcopy bzero bcmp \
        index rindex getenv atol sbrk abort atof strerror getcwd getwd \
-       strsignal)
+       strsignal putc_unlocked fputs_unlocked)
 
 GCC_NEED_DECLARATIONS(getrlimit setrlimit, [
 #include <sys/types.h>
@@ -665,6 +665,10 @@ changequote([,])dnl
                tm_file=arm/coff.h
                tmake_file=arm/t-bare
                ;;
+       arm-*-vxworks*)
+               tm_file="arm/coff.h arm/vxarm.h"
+               tmake_file=arm/t-bare
+               ;;
 changequote(,)dnl
        arm-*-riscix1.[01]*)            # Acorn RISC machine (early versions)
 changequote([,])dnl
@@ -1107,7 +1111,6 @@ changequote(,)dnl
        i[34567]86-*-openbsd*)
 changequote([,])dnl
                # Remove when the math emulator is fixed
-               target_cpu_default="MASK_NO_FANCY_MATH_387"
                # we need collect2 until our bug is fixed...
                use_collect2=yes
                ;;
@@ -1500,6 +1503,23 @@ changequote([,])dnl
                exeext=.exe
                ;;
 changequote(,)dnl
+       i[34567]86-*-interix*)
+changequote([,])dnl
+               tm_file=i386/interix.h
+               xm_file="${xm_file} xm-interix.h"
+               xm_defines="USG NO_SYS_SIGLIST"
+               tmake_file="i386/t-interix"
+               extra_objs=interix.o
+               xmake_file=x-interix
+               fixincludes=fixinc.interix
+               if [[ x$enable_threads = xyes ]]; then
+                       thread_file='posix'
+               fi
+               if [[ x$stabs = xyes ]]; then
+                       tm_file="${tm_file} dbxcoff.h"
+               fi
+               ;;
+changequote(,)dnl
        i[34567]86-*-winnt3*)
 changequote([,])dnl
                tm_file=i386/win-nt.h