Re: How to build Firefox statically?

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

Re: How to build Firefox statically?

Benjamin Smedberg
[hidden email] wrote:

> Hi,
> I am building firefox (browser only). There is a target machine on
> which linux is ported (in the flash).  Now I want to put firefox
> browser into the flash and for that I need to build firefox so that
> finally I get a single executable.
>
> But now when I check file type it shows:
> firefox-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not
> stripped

It is impossible to build a single Firefox binary without any shared libs:
not only does the mozilla build process require certain libraries to be
shared (libxpcom.so for example), but I cannot imagine linking against all
your dependencies statically. Where would you get a statically-linked
version of GTK or X libs, for example?

Please followup to mozilla.dev.builds

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

Re: How to build Firefox statically?

Christian Biesinger
Benjamin Smedberg wrote:
> Where would you get a
> statically-linked version of GTK or X libs, for example?

Uh, from /usr/lib?

$ ls /usr/lib/libgt*.a
/usr/lib/libgthread-2.0.a  /usr/lib/libgthread.a  /usr/lib/libgtk.a
/usr/lib/libgtop-2.0.a

$ ls /usr/X11R6/lib/libX*.a
/usr/X11R6/lib/libX11.a         /usr/X11R6/lib/libXfixes.a
/usr/X11R6/lib/libXp.a       /usr/X11R6/lib/libXtst.a
[...]
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: How to build Firefox statically?

anil.palled@gmail.com
In reply to this post by Benjamin Smedberg
hi,
thanx for replying!
The target has linux proted on that(No libraries, only kernel is
ported).  Now I have to make firefox work on that. Once again I would
like to mention, I have to put firefox in the flash. How should I go
for this?

Thanx and regards,
Anil Palled

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