Re: SpiderMonkey38 as static lib on Windows
Mihai Dobrescu <[email protected]> Fri, 26 Aug 2016 04:17:53 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On Friday, August 26, 2016 at 1:36:32 PM UTC+3, [email protected] wrote: > On Friday, August 26, 2016 at 12:01:32 PM UTC+2, Mihai Dobrescu wrote: > > + adding that def is not right, IMHO. > > It should get it during compilation out of the included files after config. > > Yet, it seems to need it for both, msvc and mingw. > > Anyway, thanks for your help! > I am embedding SM38 on Linux statically, and now I need to port it to Win. Are you saying that you managed to statically link to the NSPR libs using mingw64, so that you did not have to deploy the DLLs, or you could NOT do that neither with mingw64 nor msvc? I couln'd link to static libs, I did not intend. For the moment I prefer dlls under Windows. I did not use under linux at all as I embed js in Adobe products, although I'd be so happy to see them under linux! BTW, you could cross compile under linux. Should be simpler than under Windows itself...