* (patch) dllwrap tweak
@ 2000-01-03 12:00 Mumit Khan
2000-04-01 0:00 ` Mumit Khan
0 siblings, 1 reply; 4+ messages in thread
From: Mumit Khan @ 2000-01-03 12:00 UTC (permalink / raw)
To: binutils
Minor tweak to fix problem caused by Cygwin's target change from
ix86-pc-cygwin32 to ix86-pc-cygwin. Also use 32 from MINGW32 looking
at future, and for consistency.
1999-12-23 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
(main): Use. Don't look for "32" in cygwin and mingw target names.
Index: dllwrap.c
===================================================================
RCS file: /homes/khan/src/CVSROOT/binutils-19990911/binutils/dllwrap.c,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 dllwrap.c
--- dllwrap.c 1999/12/23 07:19:35 1.1.1.1
+++ dllwrap.c 1999/12/23 08:12:11
@@ -94,7 +94,7 @@ static char *target = TARGET;
typedef enum {
UNKNOWN_TARGET,
CYGWIN_TARGET,
- MINGW32_TARGET
+ MINGW_TARGET
}
target_type;
@@ -830,10 +830,10 @@ main (argc, argv)
}
/* set the target platform. */
- if (strstr (target, "cygwin32"))
+ if (strstr (target, "cygwin"))
which_target = CYGWIN_TARGET;
- else if (strstr (target, "mingw32"))
- which_target = MINGW32_TARGET;
+ else if (strstr (target, "mingw"))
+ which_target = MINGW_TARGET;
else
which_target = UNKNOWN_TARGET;
@@ -869,7 +869,7 @@ main (argc, argv)
driver_flags = cygwin_driver_flags;
break;
- case MINGW32_TARGET:
+ case MINGW_TARGET:
driver_flags = mingw32_driver_flags;
break;
@@ -890,7 +890,7 @@ main (argc, argv)
entry_point = "__cygwin_dll_entry@12";
break;
- case MINGW32_TARGET:
+ case MINGW_TARGET:
entry_point = "_DllMainCRTStartup@12";
break;
^ permalink raw reply [flat|nested] 4+ messages in thread
* (patch) dllwrap tweak
2000-01-03 12:00 (patch) dllwrap tweak Mumit Khan
@ 2000-04-01 0:00 ` Mumit Khan
0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 2000-04-01 0:00 UTC (permalink / raw)
To: binutils
Minor tweak to fix problem caused by Cygwin's target change from
ix86-pc-cygwin32 to ix86-pc-cygwin. Also use 32 from MINGW32 looking
at future, and for consistency.
1999-12-23 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
(main): Use. Don't look for "32" in cygwin and mingw target names.
Index: dllwrap.c
===================================================================
RCS file: /homes/khan/src/CVSROOT/binutils-19990911/binutils/dllwrap.c,v
retrieving revision 1.1.1.1
diff -u -3 -p -r1.1.1.1 dllwrap.c
--- dllwrap.c 1999/12/23 07:19:35 1.1.1.1
+++ dllwrap.c 1999/12/23 08:12:11
@@ -94,7 +94,7 @@ static char *target = TARGET;
typedef enum {
UNKNOWN_TARGET,
CYGWIN_TARGET,
- MINGW32_TARGET
+ MINGW_TARGET
}
target_type;
@@ -830,10 +830,10 @@ main (argc, argv)
}
/* set the target platform. */
- if (strstr (target, "cygwin32"))
+ if (strstr (target, "cygwin"))
which_target = CYGWIN_TARGET;
- else if (strstr (target, "mingw32"))
- which_target = MINGW32_TARGET;
+ else if (strstr (target, "mingw"))
+ which_target = MINGW_TARGET;
else
which_target = UNKNOWN_TARGET;
@@ -869,7 +869,7 @@ main (argc, argv)
driver_flags = cygwin_driver_flags;
break;
- case MINGW32_TARGET:
+ case MINGW_TARGET:
driver_flags = mingw32_driver_flags;
break;
@@ -890,7 +890,7 @@ main (argc, argv)
entry_point = "__cygwin_dll_entry@12";
break;
- case MINGW32_TARGET:
+ case MINGW_TARGET:
entry_point = "_DllMainCRTStartup@12";
break;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (patch) dllwrap tweak
2000-01-04 14:28 Nick Clifton
@ 2000-04-01 0:00 ` Nick Clifton
0 siblings, 0 replies; 4+ messages in thread
From: Nick Clifton @ 2000-04-01 0:00 UTC (permalink / raw)
To: khan; +Cc: binutils
Hi Mumit,
: 1999-12-23 Mumit Khan <khan@xraylith.wisc.edu>
:
: * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
: (main): Use. Don't look for "32" in cygwin and mingw target names.
Another one that is OK to apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (patch) dllwrap tweak
@ 2000-01-04 14:28 Nick Clifton
2000-04-01 0:00 ` Nick Clifton
0 siblings, 1 reply; 4+ messages in thread
From: Nick Clifton @ 2000-01-04 14:28 UTC (permalink / raw)
To: khan; +Cc: binutils
Hi Mumit,
: 1999-12-23 Mumit Khan <khan@xraylith.wisc.edu>
:
: * dllwrap.c (enum target_type): Rename MINGW32_TARGET to MINGW_TARGET.
: (main): Use. Don't look for "32" in cygwin and mingw target names.
Another one that is OK to apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-01 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-03 12:00 (patch) dllwrap tweak Mumit Khan
2000-04-01 0:00 ` Mumit Khan
2000-01-04 14:28 Nick Clifton
2000-04-01 0:00 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).