On 22 Feb 2007 09:32:42 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Feb 22, 9:00 am, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Is it possible to build xpcom without the unnecessary dependencies? If
> > so how?
xpserver used xpcom standalone and javascript integrated together.
You might be able to decode the makefiles from it.
http://xpserver.mozdev.org/
>
> You could try to build with --enable-application=xpcom
>
> and see what happens. I'm pretty sure nobody has tested it in a long time,
> so you may need to hack the makefiles (and that's not easy).
>
> > At this point, I am ready to abandon any attempt to use xpcom, since
> > it does not seem to be independent enough, which is unfortunate.
>
> Standalone XPCOM is not really a high priority goal. If people want to
> maintain it, I'll accept patches (and even perhaps provide some clues on
> IRC), but expect life to be a bit lonely.
>
> --BDS
After taking a look at some of the xpcom makefiles, it would appear
the standalone build is possible. For the benefit of mankind, here is
the solution:
The original configuration produced an xpcom lib with xul dependency:
ldd obj-build/dist/lib/libxpcom.so
libxul.so => not found
...
Building xpcom standalone:
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot co -r
MOZILLA_1_8_BRANCH mozilla/client.mk
cd mozilla
.mozconfig
mk_add_options [EMAIL PROTECTED]@/obj-build
ac_add_options --enable-application=standalone
ac_add_option --disable-xul
ac_add_options --disable-javaxpcom
ac_add_options --enable-modules=xpcom
ac_add_options --enable-standalone-modules=xpcom
gmake -f client.mk checkout MOZ_CO_PROJECT=xulrunner
gmake -f client.mk build
ldd lib/libxpcom.so
libxpcom_core.so => not found
If anyone can suggest how it would be possible to build xpcom
standalone with javascsript as well, please let me know (I haven't
tried yet).
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
--
Jon Smirl
[EMAIL PROTECTED]
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom