diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-06-11 18:57:39 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-06-11 18:57:39 +0000 |
commit | a1dd161b72b5d994ac626d34a8602db2f518c37d (patch) | |
tree | 0cdfc9f0a822a6eab473dc5ae50be5f9cca9f3ae /winsup/mingw/profile | |
parent | 05763a593cc6c7772aad9fe5576f706d1aa940f2 (diff) | |
download | newlib-a1dd161b72b5d994ac626d34a8602db2f518c37d.zip newlib-a1dd161b72b5d994ac626d34a8602db2f518c37d.tar.gz newlib-a1dd161b72b5d994ac626d34a8602db2f518c37d.tar.bz2 |
* profile/configure.in: Make msvcrt.dll version default.
* profile/makefile.in: Build both gcrt1.o and gcrt2.o.
* provile/configure: Regenerate.
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r-- | winsup/mingw/profile/Makefile.in | 2 | ||||
-rwxr-xr-x | winsup/mingw/profile/configure | 20 | ||||
-rw-r--r-- | winsup/mingw/profile/configure.in | 22 |
3 files changed, 22 insertions, 22 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in index 396ff20..d882526 100644 --- a/winsup/mingw/profile/Makefile.in +++ b/winsup/mingw/profile/Makefile.in @@ -65,7 +65,7 @@ DLLTOOL_FLAGS = --as $(AS_FOR_TARGET) LIBGMON_A = @LIBGMON_A@ LIBGMON_OBJS = gmon.o mcount.o profil.o -CRT0S = gcrt$(CRT_ID).o +CRT0S = gcrt1.o gcrt2.o LIBS = $(LIBGMON_A) DLLS = diff --git a/winsup/mingw/profile/configure b/winsup/mingw/profile/configure index 7d5b92b..cc3dcfe 100755 --- a/winsup/mingw/profile/configure +++ b/winsup/mingw/profile/configure @@ -646,18 +646,18 @@ test "$host_alias" != "$target_alias" && case "$target_os" in -*mingw32msvc*) - CRT_ID=2 +*mingw32crt*) + CRT_ID=1 MNO_CYGWIN= - RUNTIME=msvcrt - THREAD_DLL=mingwm + RUNTIME=crtdll + THREAD_DLL=mingwc LIBM_A=libm.a LIBGMON_A=libgmon.a ;; *cygwin*) - CRT_ID=1 + CRT_ID=2 MNO_CYGWIN=-mno-cygwin - RUNTIME=crtdll + RUNTIME=msvcrt THREAD_DLL=mingwc # Do not build libm.a when building under Cygwin winsup. Otherwise, it'll # overwrite Cygwin's one. Likewise for libgmon.a. @@ -665,11 +665,11 @@ case "$target_os" in LIBGMON_A= ;; *) - # Build it for CRTDLL by default. - CRT_ID=1 + # Build it for MSVCRT by default. + CRT_ID=2 MNO_CYGWIN= - RUNTIME=crtdll - THREAD_DLL=mingwc + RUNTIME=msvcrt + THREAD_DLL=mingwm LIBM_A=libm.a LIBGMON_A=libgmon.a ;; diff --git a/winsup/mingw/profile/configure.in b/winsup/mingw/profile/configure.in index 8f2846e..4f41536 100644 --- a/winsup/mingw/profile/configure.in +++ b/winsup/mingw/profile/configure.in @@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_PREREQ(2.12) +AC_PREREQ(2.13) AC_INIT(gcrt0.c) CC=${CC-cc} @@ -36,18 +36,18 @@ AC_SUBST(DLLWRAP) AC_CANONICAL_SYSTEM case "$target_os" in -*mingw32msvc*) - CRT_ID=2 +*mingw32crt*) + CRT_ID=1 MNO_CYGWIN= - RUNTIME=msvcrt - THREAD_DLL=mingwm + RUNTIME=crtdll + THREAD_DLL=mingwc LIBM_A=libm.a LIBGMON_A=libgmon.a ;; *cygwin*) - CRT_ID=1 + CRT_ID=2 MNO_CYGWIN=-mno-cygwin - RUNTIME=crtdll + RUNTIME=msvcrt THREAD_DLL=mingwc # Do not build libm.a when building under Cygwin winsup. Otherwise, it'll # overwrite Cygwin's one. Likewise for libgmon.a. @@ -55,11 +55,11 @@ case "$target_os" in LIBGMON_A= ;; *) - # Build it for CRTDLL by default. - CRT_ID=1 + # Build it for MSVCRT by default. + CRT_ID=2 MNO_CYGWIN= - RUNTIME=crtdll - THREAD_DLL=mingwc + RUNTIME=msvcrt + THREAD_DLL=mingwm LIBM_A=libm.a LIBGMON_A=libgmon.a ;; |