Hi All,
I'm developing xpcom component for my XULRunner application.
On Windows i'm able to build it using VC++ & Gecko SDK(1.8.0.4
version).When it comes to PPC Mac i'm able to build it using XCode &
Gecko SDK (1.8.0.4).When i'm trying to run the same XCode Project in
Intel Mac its not building the Component because the Gecko
SDK(1.8.0.4) is not a universally built one.
I've tried to build Gecko SDK From XULRunner (1.8.0.9)Sources
universally event then i'm unable to build universal Gecko SDK.The
Following is the procedure i've followed to do that.
i) Downloaded the XULRunner 1.8.0.9 Sources.
ii) checked out the .mozconfig file from the Mozilla Sources into
mozilla folder of the xul sources.
export CVSROOT=:pserver:anonymous:[EMAIL PROTECTED]
mirror.mozilla.org:/cvsroot
cvs co mozilla/client.mk
cvs co mozilla/xulrunner/config/mozconfig
cvs co mozilla/build/macosx/universal/mozconfig
This step is included for building it universally.
iii) Following is the .mozconfig file i've used for building it.
. $topsrcdir/xulrunner/config/mozconfig
. $topsrcdir/build/macosx/universal/mozconfig
ac_add_options --enable-optimize=-O2
ac_add_app_options ppc --enable-prebinding
mk_add_options [EMAIL PROTECTED]@/../build
ac_add_options -enable-application=xulrunner
iv) Then built the sources using following command.
make -w -f client.mk build
once the compilation is done its creating the dist/sdk in build ( in
the same folder as of mozilla ) folder.
All the executables i.e i) libnspr4.dylib ii) libplc4.dylib
iii)libplds4.dylib iv) libxpcom.dylib are only PPC Compatible ones.
( In the Info pane of each file it shows (PowerPC) meaning they are
compatible only with PPC ones).
Please let me know how to create the Universally compatible Gecko
SDK for Mac.
The Gecko SDK built is having a lot of aliases to the files in
other directories.How to create distributable version of that by
replacing the aliases with original ones.
Please help me to solve these two.Thanks in Advance.
-JanakiRam
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom