Compile firefox with debug symbols

Fraser Tweedale frase at
Fri Aug 1 04:15:05 UTC 2008

On Thu, Jul 31, 2008 at 09:00:53PM +0200, Martin Laabs wrote:
> Hi,
> I have some problems with firefox (it just don't
> start - as well as openoffice.) I think it is a
> broken lib - but though I recompiled all the libs
> it still does not work.
> Now I'll do it the right way and use gdb but until
> now I had no success compiling a binary of firefox
> (or regxpcom which also hangs) with debug symbols
> I tried " make DEBUG=on LOGGING=on" but this produced
> also only the stripped binaries.
> So - how can I build firefox (form the ports) with
> debug symbols?
> Thank you,
>   Martin L.

WITH_DEBUG is the variable you're interested in.  It must be defined,
so something like:

`make WITH_DEBUG=yes install`

should do the trick.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list