Closed Bug 313059 Opened 19 years ago Closed 16 years ago

Decide what to do with js.mak

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Assigned: jorendorff)

References

Details

Attachments

(1 file)

There is currently a js.mak file that people are trying to use. Someone recently
reported that trying to use the js file object on a build compiled with it
failed to work correctly (the report said that the resulting binary hung on |new
File("foo.bar")|.

I proposed to remove it, but I see that there's been some interest in the past
to keep it as a working option (see bug 281489). Unless someone speaks up
(preferably with a patch to add JS_HAS_FILE_OBJECT support to it), I'm going to
cvs remove it from the respository...
I definitely object, unless you plan to add equivcalent options to build
standalone spidermonkey to the mozilla build system --enable-application=js or
spidermonkey or something.
The more-or-less "supported" way to build the shell is to use Makefile.ref (also
found in js/src). There's a bug on making the standalone js shell using
configure and fun stuff like that, but there's been nothing checked in so far.

It seems that the original post that brought us here was someone who hacked
js.mak to allow for JS_HAS_FILE_OBJECT. Perhaps we could persuade him to submit
a patch and see what's breaking (I'm going to try to test the file object on
Windows now).
(In reply to comment #1)
> I definitely object, unless you plan to add equivcalent options to build
> standalone spidermonkey to the mozilla build system --enable-application=js or
> spidermonkey or something.

I don't understand. This doesn't exist today does it? js.mak currently has
nothing to do with the mozilla build system and as Blake said make -f
Makefile.ref [BUILD_OPT=1] works to build spidermonkey standalone.
Flags: testcase-
Currently SpiderMonkey cannot be build with nmake because js.mak wasn't updated in bug 319719; nobody has complained in almost a month. This file is so often behind the times that I believe it's better to face reality: state that GNU make is required to build and remove js.mak.
(The .mdp files are even more outdated and completely useless, btw.)
OS: Linux → Windows XP
I withdrew my objection, I got confused between js.mak and Makefile.ref
Attached patch delete js.makSplinter Review
(The patch just deletes js.mak, nothing else.)
Assignee: general → jorendorff
Status: NEW → ASSIGNED
Attachment #323568 - Flags: review?(crowder)
Comment on attachment 323568 [details] [diff] [review]
delete js.mak

Yay!
Attachment #323568 - Flags: review?(crowder) → review+
Pushed changeset 40d21bb9aeae to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: