Is is possible to build a windows phone8 version?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Is is possible to build a windows phone8 version?

Rick Du
Hello,
I'm moving an app which supports ios & android to windows phone8. It uses spidermonkey inside, but I just cannot find a spidermonkey for wp8.

Is there a wp8 version available? If not, how can I build it for wp8? Thanks!
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to build a windows phone8 version?

Till Schneidereit-2
Hi Rick,

there isn't a build target for wp8, because we don't have any need for it.
I don't really know how difficult creating one is, but could imagine that
it's non-trivial, unfortunately. The most problematic issue is probably
getting NSPR running, if you need multi-threading support. If you don't. it
might not be too bad.

Should you go down that route, I'm fairly sure we'd accept patches for wp8
as a third-teir platform. That means that the build system parts live in
our tree, but we don't run any automated testing for them so they're likely
to break every now and again. That shouldn't be too bad for your use case,
as you probably don't need to keep up with mozilla-central.


hth,
till


On Tue, Apr 1, 2014 at 4:41 AM, Rick Du <[hidden email]> wrote:

> Hello,
> I'm moving an app which supports ios & android to windows phone8. It uses
> spidermonkey inside, but I just cannot find a spidermonkey for wp8.
>
> Is there a wp8 version available? If not, how can I build it for wp8?
> Thanks!
> _______________________________________________
> dev-tech-js-engine mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to build a windows phone8 version?

Rick Du
In reply to this post by Rick Du
Hi Till,

Thanks so much for your reply.

I've built a copy of javascriptcore for wp8, which is not too difficulty to build after I got a visual studio project from github. But mozilla build seems not open enough for me because I'm not clear about the build order. Since the API of javascriptcore and spidermonkey is so different, I cannot give up building a spidermonkey for wp8.

I'm sure I don't need multi-threading support. Now if I want to build for wp8, I have several questions:
1. After I installed MozillaBuildSetup-Latest.exe, following the simplest "Non-developer build" instructions, I got a mozjs-24.lib for windows(maybe my cygwin in path also helped). Does it mean that I didn't use NSPR?
2. If I want to build for wp8, my idea is:
a) copy start-msvc11.bat, redirect the win sdk to wp8 sdk
b) build and fix errors
Is it too naive? I really don't know where to start from.

Best

On Tuesday, April 1, 2014 2:38:56 PM UTC+8, Till Schneidereit wrote:

> Hi Rick,
>
>
>
> there isn't a build target for wp8, because we don't have any need for it.
>
> I don't really know how difficult creating one is, but could imagine that
>
> it's non-trivial, unfortunately. The most problematic issue is probably
>
> getting NSPR running, if you need multi-threading support. If you don't. it
>
> might not be too bad.
>
>
>
> Should you go down that route, I'm fairly sure we'd accept patches for wp8
>
> as a third-teir platform. That means that the build system parts live in
>
> our tree, but we don't run any automated testing for them so they're likely
>
> to break every now and again. That shouldn't be too bad for your use case,
>
> as you probably don't need to keep up with mozilla-central.
>
>
>
>
>
> hth,
>
> till
>
>
>
>
>
> On Tue, Apr 1, 2014 at 4:41 AM, Rick Du <[hidden email]> wrote:
>
>
>
> > Hello,
>
> > I'm moving an app which supports ios & android to windows phone8. It uses
>
> > spidermonkey inside, but I just cannot find a spidermonkey for wp8.
>
> >
>
> > Is there a wp8 version available? If not, how can I build it for wp8?
>
> > Thanks!
>
> > _______________________________________________
>
> > dev-tech-js-engine mailing list
>
> > [hidden email]
>
> > https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
> >
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to build a windows phone8 version?

Till Schneidereit-2
Hi Rick,

I don't know the first thing about building on Windows, sadly, so I can't
comment on whether your approach will work or not. It sounds good to me for
what it's worth, though.

I'll try getting people with more knowledge on the subject to follow up,
but it might take a while since they're probably asleep right now.


On Tue, Apr 1, 2014 at 11:09 AM, Rick Du <[hidden email]> wrote:

> Hi Till,
>
> Thanks so much for your reply.
>
> I've built a copy of javascriptcore for wp8, which is not too difficulty
> to build after I got a visual studio project from github. But mozilla build
> seems not open enough for me because I'm not clear about the build order.
> Since the API of javascriptcore and spidermonkey is so different, I cannot
> give up building a spidermonkey for wp8.
>
> I'm sure I don't need multi-threading support. Now if I want to build for
> wp8, I have several questions:
> 1. After I installed MozillaBuildSetup-Latest.exe, following the simplest
> "Non-developer build" instructions, I got a mozjs-24.lib for windows(maybe
> my cygwin in path also helped). Does it mean that I didn't use NSPR?
> 2. If I want to build for wp8, my idea is:
> a) copy start-msvc11.bat, redirect the win sdk to wp8 sdk
> b) build and fix errors
> Is it too naive? I really don't know where to start from.
>
> Best
>
> On Tuesday, April 1, 2014 2:38:56 PM UTC+8, Till Schneidereit wrote:
> > Hi Rick,
> >
> >
> >
> > there isn't a build target for wp8, because we don't have any need for
> it.
> >
> > I don't really know how difficult creating one is, but could imagine that
> >
> > it's non-trivial, unfortunately. The most problematic issue is probably
> >
> > getting NSPR running, if you need multi-threading support. If you don't.
> it
> >
> > might not be too bad.
> >
> >
> >
> > Should you go down that route, I'm fairly sure we'd accept patches for
> wp8
> >
> > as a third-teir platform. That means that the build system parts live in
> >
> > our tree, but we don't run any automated testing for them so they're
> likely
> >
> > to break every now and again. That shouldn't be too bad for your use
> case,
> >
> > as you probably don't need to keep up with mozilla-central.
> >
> >
> >
> >
> >
> > hth,
> >
> > till
> >
> >
> >
> >
> >
> > On Tue, Apr 1, 2014 at 4:41 AM, Rick Du <[hidden email]> wrote:
> >
> >
> >
> > > Hello,
> >
> > > I'm moving an app which supports ios & android to windows phone8. It
> uses
> >
> > > spidermonkey inside, but I just cannot find a spidermonkey for wp8.
> >
> > >
> >
> > > Is there a wp8 version available? If not, how can I build it for wp8?
> >
> > > Thanks!
> >
> > > _______________________________________________
> >
> > > dev-tech-js-engine mailing list
> >
> > > [hidden email]
> >
> > > https://lists.mozilla.org/listinfo/dev-tech-js-engine
> >
> > >
> _______________________________________________
> dev-tech-js-engine mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to build a windows phone8 version?

Rick Du
In reply to this post by Rick Du
Hi Till,

Thanks. I hardcoded some of the variables in .bat. It does not throw error but the generated lib is still for windows. I'll change more and try to build for it.

On Tuesday, April 1, 2014 5:27:07 PM UTC+8, Till Schneidereit wrote:

> Hi Rick,
>
>
>
> I don't know the first thing about building on Windows, sadly, so I can't
>
> comment on whether your approach will work or not. It sounds good to me for
>
> what it's worth, though.
>
>
>
> I'll try getting people with more knowledge on the subject to follow up,
>
> but it might take a while since they're probably asleep right now.
>
>
>
>
>
> On Tue, Apr 1, 2014 at 11:09 AM, Rick Du <[hidden email]> wrote:
>
>
>
> > Hi Till,
>
> >
>
> > Thanks so much for your reply.
>
> >
>
> > I've built a copy of javascriptcore for wp8, which is not too difficulty
>
> > to build after I got a visual studio project from github. But mozilla build
>
> > seems not open enough for me because I'm not clear about the build order.
>
> > Since the API of javascriptcore and spidermonkey is so different, I cannot
>
> > give up building a spidermonkey for wp8.
>
> >
>
> > I'm sure I don't need multi-threading support. Now if I want to build for
>
> > wp8, I have several questions:
>
> > 1. After I installed MozillaBuildSetup-Latest.exe, following the simplest
>
> > "Non-developer build" instructions, I got a mozjs-24.lib for windows(maybe
>
> > my cygwin in path also helped). Does it mean that I didn't use NSPR?
>
> > 2. If I want to build for wp8, my idea is:
>
> > a) copy start-msvc11.bat, redirect the win sdk to wp8 sdk
>
> > b) build and fix errors
>
> > Is it too naive? I really don't know where to start from.
>
> >
>
> > Best
>
> >
>
> > On Tuesday, April 1, 2014 2:38:56 PM UTC+8, Till Schneidereit wrote:
>
> > > Hi Rick,
>
> > >
>
> > >
>
> > >
>
> > > there isn't a build target for wp8, because we don't have any need for
>
> > it.
>
> > >
>
> > > I don't really know how difficult creating one is, but could imagine that
>
> > >
>
> > > it's non-trivial, unfortunately. The most problematic issue is probably
>
> > >
>
> > > getting NSPR running, if you need multi-threading support. If you don't.
>
> > it
>
> > >
>
> > > might not be too bad.
>
> > >
>
> > >
>
> > >
>
> > > Should you go down that route, I'm fairly sure we'd accept patches for
>
> > wp8
>
> > >
>
> > > as a third-teir platform. That means that the build system parts live in
>
> > >
>
> > > our tree, but we don't run any automated testing for them so they're
>
> > likely
>
> > >
>
> > > to break every now and again. That shouldn't be too bad for your use
>
> > case,
>
> > >
>
> > > as you probably don't need to keep up with mozilla-central.
>
> > >
>
> > >
>
> > >
>
> > >
>
> > >
>
> > > hth,
>
> > >
>
> > > till
>
> > >
>
> > >
>
> > >
>
> > >
>
> > >
>
> > > On Tue, Apr 1, 2014 at 4:41 AM, Rick Du <[hidden email]> wrote:
>
> > >
>
> > >
>
> > >
>
> > > > Hello,
>
> > >
>
> > > > I'm moving an app which supports ios & android to windows phone8. It
>
> > uses
>
> > >
>
> > > > spidermonkey inside, but I just cannot find a spidermonkey for wp8.
>
> > >
>
> > > >
>
> > >
>
> > > > Is there a wp8 version available? If not, how can I build it for wp8?
>
> > >
>
> > > > Thanks!
>
> > >
>
> > > > _______________________________________________
>
> > >
>
> > > > dev-tech-js-engine mailing list
>
> > >
>
> > > > [hidden email]
>
> > >
>
> > > > https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
> > >
>
> > > >
>
> > _______________________________________________
>
> > dev-tech-js-engine mailing list
>
> > [hidden email]
>
> > https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
> >

_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to build a windows phone8 version?

Joshua Astray
Hi, Rick.
How about your work now? Any result?
I'm doing the same thing now, and really hope that you have successfully built it.

在 2014年4月1日星期二UTC+8下午5时48分29秒,Rick Du写道:

> Hi Till,
>
>
>
> Thanks. I hardcoded some of the variables in .bat. It does not throw error but the generated lib is still for windows. I'll change more and try to build for it.
>
>
>
> On Tuesday, April 1, 2014 5:27:07 PM UTC+8, Till Schneidereit wrote:
>
> > Hi Rick,
>
> >
>
> >
>
> >
>
> > I don't know the first thing about building on Windows, sadly, so I can't
>
> >
>
> > comment on whether your approach will work or not. It sounds good to me for
>
> >
>
> > what it's worth, though.
>
> >
>
> >
>
> >
>
> > I'll try getting people with more knowledge on the subject to follow up,
>
> >
>
> > but it might take a while since they're probably asleep right now.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > On Tue, Apr 1, 2014 at 11:09 AM, Rick Du <[hidden email]> wrote:
>
> >
>
> >
>
> >
>
> > > Hi Till,
>
> >
>
> > >
>
> >
>
> > > Thanks so much for your reply.
>
> >
>
> > >
>
> >
>
> > > I've built a copy of javascriptcore for wp8, which is not too difficulty
>
> >
>
> > > to build after I got a visual studio project from github. But mozilla build
>
> >
>
> > > seems not open enough for me because I'm not clear about the build order.
>
> >
>
> > > Since the API of javascriptcore and spidermonkey is so different, I cannot
>
> >
>
> > > give up building a spidermonkey for wp8.
>
> >
>
> > >
>
> >
>
> > > I'm sure I don't need multi-threading support. Now if I want to build for
>
> >
>
> > > wp8, I have several questions:
>
> >
>
> > > 1. After I installed MozillaBuildSetup-Latest.exe, following the simplest
>
> >
>
> > > "Non-developer build" instructions, I got a mozjs-24.lib for windows(maybe
>
> >
>
> > > my cygwin in path also helped). Does it mean that I didn't use NSPR?
>
> >
>
> > > 2. If I want to build for wp8, my idea is:
>
> >
>
> > > a) copy start-msvc11.bat, redirect the win sdk to wp8 sdk
>
> >
>
> > > b) build and fix errors
>
> >
>
> > > Is it too naive? I really don't know where to start from.
>
> >
>
> > >
>
> >
>
> > > Best
>
> >
>
> > >
>
> >
>
> > > On Tuesday, April 1, 2014 2:38:56 PM UTC+8, Till Schneidereit wrote:
>
> >
>
> > > > Hi Rick,
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > > there isn't a build target for wp8, because we don't have any need for
>
> >
>
> > > it.
>
> >
>
> > > >
>
> >
>
> > > > I don't really know how difficult creating one is, but could imagine that
>
> >
>
> > > >
>
> >
>
> > > > it's non-trivial, unfortunately. The most problematic issue is probably
>
> >
>
> > > >
>
> >
>
> > > > getting NSPR running, if you need multi-threading support. If you don't.
>
> >
>
> > > it
>
> >
>
> > > >
>
> >
>
> > > > might not be too bad.
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > > Should you go down that route, I'm fairly sure we'd accept patches for
>
> >
>
> > > wp8
>
> >
>
> > > >
>
> >
>
> > > > as a third-teir platform. That means that the build system parts live in
>
> >
>
> > > >
>
> >
>
> > > > our tree, but we don't run any automated testing for them so they're
>
> >
>
> > > likely
>
> >
>
> > > >
>
> >
>
> > > > to break every now and again. That shouldn't be too bad for your use
>
> >
>
> > > case,
>
> >
>
> > > >
>
> >
>
> > > > as you probably don't need to keep up with mozilla-central.
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > > hth,
>
> >
>
> > > >
>
> >
>
> > > > till
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > > On Tue, Apr 1, 2014 at 4:41 AM, Rick Du <[hidden email]> wrote:
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > >
>
> >
>
> > > > > Hello,
>
> >
>
> > > >
>
> >
>
> > > > > I'm moving an app which supports ios & android to windows phone8. It
>
> >
>
> > > uses
>
> >
>
> > > >
>
> >
>
> > > > > spidermonkey inside, but I just cannot find a spidermonkey for wp8.
>
> >
>
> > > >
>
> >
>
> > > > >
>
> >
>
> > > >
>
> >
>
> > > > > Is there a wp8 version available? If not, how can I build it for wp8?
>
> >
>
> > > >
>
> >
>
> > > > > Thanks!
>
> >
>
> > > >
>
> >
>
> > > > > _______________________________________________
>
> >
>
> > > >
>
> >
>
> > > > > dev-tech-js-engine mailing list
>
> >
>
> > > >
>
> >
>
> > > > > [hidden email]
>
> >
>
> > > >
>
> >
>
> > > > > https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
> >
>
> > > >
>
> >
>
> > > > >
>
> >
>
> > > _______________________________________________
>
> >
>
> > > dev-tech-js-engine mailing list
>
> >
>
> > > [hidden email]
>
> >
>
> > > https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
> >
>
> > >

_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine