Open
Bug 814982
Opened 13 years ago
Updated 3 years ago
Change Windows default build to OS_ARCH=WIN95 - and rename WINNT to indicate it's obsolete
Categories
(NSPR :: NSPR, defect, P2)
Tracking
(Not tracked)
ASSIGNED
4.10.2
People
(Reporter: KaiE, Assigned: KaiE)
References
(Blocks 1 open bug)
Details
(Whiteboard: [latest proposal: from comment 2])
Attachments
(1 file)
|
8.29 KB,
patch
|
ted
:
feedback+
|
Details | Diff | Splinter Review |
When configuring a windows build. without providing the OS_TARGET environment variable, the build will use the WINNT configuration.
But the WINNT configuration is outdated - we recommend the use of the configuration named WIN95.
I propose to avoid problems by users who are not aware of this detail.
I propose to change the default of NSPR on Windows to use OS_TARGET=WIN95
| Assignee | ||
Comment 1•13 years ago
|
||
In addition, the WIN95 config should be renamed, in order to make it clear that WIN95 is the recommended and more modern configuration.
For example
WINNT - rename to WINOLD
and
WIN95 - rename to WINDOWS
(I don't like the idea to rename WIN95 to WIN32, because WIN32 sounds like "32 bit only".)
Summary: Change Windows default build to OS_ARCH=WIN95 → Change Windows default build to OS_ARCH=WIN95 - and rename WIN95 to a better name
| Assignee | ||
Comment 2•13 years ago
|
||
After some more brainstorming, I'd like to suggest a different approach - and I propose we do sometihng soon - because I noticed in bug 832272 that more people use the "obsolete" NSPR build config - WINNT is obsolete.
My wish is to use an approach, that will cause the least possible trouble for everyone who is already using the good configuration - and trigger a reminder for people who are still using the obsolete one.
Here is the proposal:
- keep the config name WIN95 unchanged for now
- change the default to WIN95
- rename WINNT to WINOLD
This way, everyone already using WIN95 will continue to be fine,
and everyone using WINNT should run into a build failure.
Summary: Change Windows default build to OS_ARCH=WIN95 - and rename WIN95 to a better name → Change Windows default build to OS_ARCH=WIN95 - and rename WINNT to indicate it's obsolete
| Assignee | ||
Updated•13 years ago
|
Whiteboard: [latest proposal: from comment 2]
Comment 3•13 years ago
|
||
This sounds eminently reasonable to me.
| Assignee | ||
Comment 4•13 years ago
|
||
Also, I suspect it is sufficient to adjust the places where the OS_TARGET variable refer to the value WINNT.
If the above is sufficient, then I propose to keep the WINNT variable name of OS_ARCH unchanged, and also to keep the WINNT #define unchanged, in order to minize side effects and noise.
| Assignee | ||
Comment 5•13 years ago
|
||
untested patch v1
After this change, there are no longer any lines in NSPR that contain both OS_TARGET and WINNT (except for the occurrent in configure[.in] where I try to reject that combination).
| Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 707200 [details] [diff] [review]
Patch v1
Could this be sufficient?
Attachment #707200 -
Flags: review?(wtc)
Attachment #707200 -
Flags: feedback?(ted)
Comment 7•13 years ago
|
||
Comment on attachment 707200 [details] [diff] [review]
Patch v1
Review of attachment 707200 [details] [diff] [review]:
-----------------------------------------------------------------
I like this approach, but I don't think you've changed enough in configure. There are many codepaths that will still set OS_ARCH=WINNT, which will result in OS_TARGET=WINNT. I think you should change those all to set OS_ARCH=WIN95 to avoid having the default configuration be something that doesn't build.
Attachment #707200 -
Flags: feedback?(ted) → feedback+
Updated•13 years ago
|
Assignee: wtc → kaie
Comment 8•13 years ago
|
||
Thank you for the patch. There is some obsolete stuff in configure.in
for supporting building on Windows 9x machines that we should remove
first.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 4.9.6
Updated•13 years ago
|
Target Milestone: 4.9.6 → 4.10
Updated•13 years ago
|
Target Milestone: 4.10 → 4.10.1
| Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Wan-Teh Chang from comment #8)
> Thank you for the patch. There is some obsolete stuff in configure.in
> for supporting building on Windows 9x machines that we should remove
> first.
In my opinion, asking for optional work (that nobody has been able to focus on yet)
should never be an argument for delaying existing patches that are an improvement.
| Assignee | ||
Comment 10•12 years ago
|
||
never mind. I hope someone will be able to focus on the additional required changes some day. This bug isn't a high priority for me.
Updated•12 years ago
|
Target Milestone: 4.10.1 → 4.10.2
Comment 11•12 years ago
|
||
(In reply to Kai Engert (:kaie) from comment #2)
> After some more brainstorming, I'd like to suggest a different approach -
> and I propose we do sometihng soon - because I noticed in bug 832272 that
> more people use the "obsolete" NSPR build config - WINNT is obsolete.
Bug 772226 is another instance.
| Assignee | ||
Comment 12•12 years ago
|
||
You changed the default to WIN95 in bug 947652.
Do you still want to rename WINNT, or can we close this dupe/wontfix?
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•