summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-21 03:57:09 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-21 03:57:09 +0000
commit8728e49b7edf5ca145f47681417b4165105d9255 (patch)
treec1a9d70a0dc8a7f79dad68983b237883c5fd59c9 /gcc/config.gcc
parent61dad5c4fe3512ed6e11f1a855ee6fd4801803f3 (diff)
downloadgcc-8728e49b7edf5ca145f47681417b4165105d9255.tar.gz
2003-03-21 Christopher Faylor <cgf@redhat.com>
* config.gcc (i[34567]86-*-cygwin*): Use new common makefile stub t-cygming. Use common target header cygming.h. Add extra c_target_obj and cxx_target_obj file. Default cygwin to posix threading. Enforce i386 as float format. (i[34567]86-*-mingw*): Use new common makefile stub t-cygming. Remove cygwin.h as target header. Use common target header cygming.h Enforce i386 as float format. Correct typo. * config/i386/cygming.h: New file, containing definitions common to mingw32 and cygwin. * config/i386/cygwin.h: Remove definitions common to cygwin and mingw. Simplify special spec logic. Define "wrappers" around certain include path defines to accommodate -mno-cygwin. Remove some #if 0'ed code. (STANDARD_INCLUDE_DIR) Always define when not cross-compiling. (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin. (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan. * config/i386/mingw32.h: Remove definitions common to cygwin and mingw. (EXTRA_OS_CPP_BUILTINS): Adjust. (TARGET_VERSION): Define. * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override mingw32.h definitions. (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h. * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o. Add compilation rules for cygwin1.o cygwin2.o. * config/i386/cygwin1.c: New file. * config/i386/cygwin2.c: New file. * config/i386/t-cygming: New makefile stub. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc16
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 68fd60e6e7c..ee5e859b138 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1320,21 +1320,25 @@ i[34567]86-*-win32)
exeext=.exe
;;
i[34567]86-*-pe | i[34567]86-*-cygwin*)
+ tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h"
xm_defines=POSIX
xm_file=i386/xm-cygwin.h
- tmake_file=i386/t-cygwin
- tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h"
+ tmake_file="i386/t-cygming i386/t-cygwin"
+ float_format=i386
extra_objs=winnt.o
+ c_target_objs=cygwin2.o
+ cxx_target_objs=cygwin2.o
if test x$enable_threads = xyes; then
- thread_file='win32'
+ thread_file='posix'
fi
exeext=.exe
;;
i[34567]86-*-mingw32*)
- tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h i386/mingw32.h"
+ tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
xm_defines=POSIX
xm_file=i386/xm-mingw32.h
- tmake_file="i386/t-cygwin i386/t-mingw32"
+ tmake_file="i386/t-cygming i386/t-mingw32"
+ float_format=i386
extra_objs=winnt.o
if test x$enable_threads = xyes; then
thread_file='win32'
@@ -1344,7 +1348,7 @@ i[34567]86-*-mingw32*)
*mingw32crt*)
tm_file="${tm_file} i386/crtdll.h"
;;
- *minwg32msv* | *mingw32*)
+ *mingw32msv* | *mingw32*)
;;
esac
;;