I'm trying to compile firefox with static linked libs, but when I done with the compile, there are still a bunch of dependencies on .so files where in that same directory .la or .a files were.
I'm using sunstudio12, and following the directions from firefox..
i.e.
Solaris Build Prerequisites - MDC
and..
my mozconfig is:
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --disable-libxul
ac_add_options --disable-tests
I've posted questions in the mozilla forums, but haven't gotten anyone to bite.
I need somone who knows how SunStudio, and static compiles works a whole heckava lot better than I.
Thanks!
But when I'm done, I still have a bunch of libs that didn't link staticly, or atleast that's what ldd says when I run it against firefox-bin.. :-(
I've gotten this work with gcc, and LD paths etc... but Mozilla's site actually recomends SunStudio, and when I try with gcc, it fails all the time with ld flag problems that I can't appear to resolve.