Bug 120026
Summary: | Cannot build jsc by itself using Tools/Scripts/build-jsc | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alon Zakai <alonzakai> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | oliver, xan.lopez, zan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Linux |
Alon Zakai
Tools/Scripts/build-jsc, on linux, reports
Building not defined for this platform!
and halts. Building jsc works using Tools/Scripts/build-webkit but would be nice on linux to not need to build everything.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alon Zakai
Adding cc's per olliej's suggestion.
Zan Dobersek
You have to specify the port under which you'd like to build jsc. I assume you're targeting the GTK port, so you'd run the command with the --gtk flag:
`Tools/Scripts/build-webkit --gtk`
Alon Zakai
Thanks! I didn't think to try that because while build-webkit does mention --gtk etc. in its help, but build-jsc does not. But it does seem to work (it runs for a while then quits without error, which is ok since no files have changed since i built all of webkit a few hours ago).
Closing this, but perhaps this could be documented somewhere? Or was I looking in the wrong place for docs?
Zan Dobersek
Well, in the very worst case, you can always look at the code.
But I agree, a bit more documentation wouldn't hurt. Feel free to produce patches, or at least open a separate bug for that.