Closed
Bug 947652
Opened 12 years ago
Closed 12 years ago
Make OS_TARGET=WIN95 the default on Windows
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.15.4
People
(Reporter: briansmith, Assigned: briansmith)
Details
Attachments
(5 files, 2 obsolete files)
|
2.78 KB,
patch
|
briansmith
:
review+
briansmith
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.47 KB,
patch
|
briansmith
:
review+
wtc
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.89 MB,
text/plain
|
Details | |
|
1.90 MB,
text/plain
|
Details | |
|
1.90 MB,
text/plain
|
Details |
Whenever I tell somebody how to build NSS, I have to give them two sets of instructions: "make nss_build_all", or "OS_TARGET=WIN95 make nss_build_all" on Windows. Also, we've seen people getting confused about OS_TARGET=WINNT vs OS_TARGET=WIN95 and also, AFAICT, we consider OS_TARGET=WINNT deprecated or close to deprecated.
This patch makes OS_TARGET=WIN95 when OS_ARCH=WINNT when OS_TARGET isn't explicitly defined.
Attachment #8344241 -
Flags: review?(wtc)
Comment 1•12 years ago
|
||
Can we just make NSS's build system smart enough to figure out which system it's on in the absence of OS_TARGET? (Or is that basically what this does?)
| Assignee | ||
Comment 2•12 years ago
|
||
(In reply to David Keeler (:keeler) from comment #1)
> Can we just make NSS's build system smart enough to figure out which system
> it's on in the absence of OS_TARGET? (Or is that basically what this does?)
This is what the patch does. Windows is an exception because the default, WINNT, is not the one most people want.
Comment 3•12 years ago
|
||
Is this a subset or dupe of Bug 814982?
Comment 4•12 years ago
|
||
Comment on attachment 8344241 [details] [diff] [review]
default-OS_TARGET_WIN95-on-Windows.patch
Review of attachment 8344241 [details] [diff] [review]:
-----------------------------------------------------------------
r=wtc.
::: coreconf/arch.mk
@@ +150,5 @@
> #
>
> #
> # The following hack allows one to build on a WIN95 machine (as if
> # s/he were cross-compiling on a WINNT host for a WIN95 target).
We should also remove this block of code. We don't build on
Win9x machines any more. I can write a patch.
Attachment #8344241 -
Flags: review?(wtc) → review+
Comment 5•12 years ago
|
||
Attachment #8346966 -
Flags: review?(brian)
Comment 6•12 years ago
|
||
Comment on attachment 8344241 [details] [diff] [review]
default-OS_TARGET_WIN95-on-Windows.patch
Review of attachment 8344241 [details] [diff] [review]:
-----------------------------------------------------------------
::: coreconf/arch.mk
@@ +230,5 @@
> endif
> endif
> endif
> #
> +# If uname -s returns "MINGW32_NT-*", we assume that we are using
A few lines above, there is a comment that says
# If uname -s returns "MINGW32_NT-5.1", we assume that we are using
It should be fixed in the same way.
| Assignee | ||
Updated•12 years ago
|
Attachment #8346966 -
Flags: review?(brian) → review+
| Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8344241 [details] [diff] [review]
default-OS_TARGET_WIN95-on-Windows.patch
Review of attachment 8344241 [details] [diff] [review]:
-----------------------------------------------------------------
::: coreconf/arch.mk
@@ +230,5 @@
> endif
> endif
> endif
> #
> +# If uname -s returns "MINGW32_NT-*", we assume that we are using
I guess you meant this:
# If uname -s returns "CYGWIN_NT-*", we assume that we are using
# the uname.exe in the Cygwin tools.
I made the change.
| Assignee | ||
Comment 8•12 years ago
|
||
Attachment #8344241 -
Attachment is obsolete: true
Attachment #8347099 -
Flags: review+
| Assignee | ||
Comment 9•12 years ago
|
||
Attachment #8346966 -
Attachment is obsolete: true
Attachment #8347100 -
Flags: review+
| Assignee | ||
Comment 10•12 years ago
|
||
http://hg.mozilla.org/projects/nss/rev/6593411d388b
http://hg.mozilla.org/projects/nss/rev/ccaf2d1690fc
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 11•12 years ago
|
||
Comment on attachment 8344241 [details] [diff] [review]
default-OS_TARGET_WIN95-on-Windows.patch
Review of attachment 8344241 [details] [diff] [review]:
-----------------------------------------------------------------
::: coreconf/arch.mk
@@ +230,5 @@
> endif
> endif
> endif
> #
> +# If uname -s returns "MINGW32_NT-*", we assume that we are using
Yes, you are right. Sorry about the copy-and-paste error.
| Assignee | ||
Comment 12•12 years ago
|
||
Backed out for Windows test failures:
http://hg.mozilla.org/projects/nss/rev/299a8e8c904a
http://hg.mozilla.org/projects/nss/rev/49360b638350
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 13•12 years ago
|
||
| Assignee | ||
Comment 14•12 years ago
|
||
| Assignee | ||
Comment 15•12 years ago
|
||
Comment 16•12 years ago
|
||
Comment on attachment 8347100 [details] [diff] [review]
Part 2: Remove support for building on Win9x machines
This patch doesn't need to be backed out. I checked it in again:
https://hg.mozilla.org/projects/nss/rev/89704a8628e9
Attachment #8347100 -
Flags: checked-in+
| Assignee | ||
Comment 17•12 years ago
|
||
Comment on attachment 8347099 [details] [diff] [review]
Part 1: Make OS_TARGET=WIN95 the default on Windows
(In reply to Wan-Teh Chang from comment #16)
> Comment on attachment 8347100 [details] [diff] [review]
> Part 2: Remove support for building on Win9x machines
>
> This patch doesn't need to be backed out. I checked it in again:
> https://hg.mozilla.org/projects/nss/rev/89704a8628e9
Neither patch needed to be backed out. Since you checked in the second one again, I just checked in the first one, so that the two patches for this bug are not split between two different releases:
http://hg.mozilla.org/projects/nss/rev/5f4ba3533468
Attachment #8347099 -
Flags: checked-in+
| Assignee | ||
Updated•12 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•