summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config.gcc30
-rw-r--r--gcc/config.host3
2 files changed, 33 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 6569afe8a..5b20b7344 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2793,6 +2793,36 @@ m32c-*-elf*)
c_target_objs="m32c-pragma.o"
cxx_target_objs="m32c-pragma.o"
;;
+*-*-midipix*)
+ native_system_header_dir="/include"
+ local_includedir="/local/include"
+
+ xm_file=
+ tm_file="vxworks-dummy.h i386/biarch64.h i386/i386.h i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/midipix.h glibc-stdint.h"
+
+ xm_defines="HAVE_GAS_ALIGNED_COMM=1 __TARGET_SYMVER_REJECTED=1"
+ tm_defines="HAVE_GAS_ALIGNED_COMM=1 __TARGET_SYMVER_REJECTED=1"
+
+ tmake_file="i386/t-midipix t-slibgcc i386/t-gmm_malloc i386/t-i386 i386/t-fprules-softfp soft-fp/t-softfp"
+
+ target_gtfiles="\$(srcdir)/config/i386/winnt.c \$(srcdir)/config/i386/midipix.c"
+
+ extra_objs="midipix_winnt_common.o midipix_winnt_stubs.o midipix.o"
+ extra_options="fused-madd.opt i386/i386.opt i386/midipix.opt"
+
+ c_target_objs="i386-c.o"
+ cxx_target_objs="i386-c.o midipix_winnt_cxx.o"
+
+ gas=yes
+ gnu_as=yes
+ gnu_ld=yes
+
+ thread_file=posix
+ default_use_cxa_atexit=yes
+
+ use_gcc_tgmath=no
+ use_gcc_stdint=wrap
+ ;;
*)
echo "*** Configuration ${target} not supported" 1>&2
exit 1
diff --git a/gcc/config.host b/gcc/config.host
index d0342b996..2ff30ca36 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -233,6 +233,9 @@ case ${host} in
out_host_hook_obj=host-mingw32.o
host_lto_plugin_soname=liblto_plugin-0.dll
;;
+ *-*-midipix*)
+ host_exeext=.exe
+ ;;
i[34567]86-*-uwin*)
echo "*** UWIN may not be used as a host platform because"
echo "*** linking with posix.dll is not allowed by the GNU GPL."