emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build Emacs with debugging information?


From: Óscar Fuentes
Subject: Re: How to build Emacs with debugging information?
Date: Sat, 24 Jan 2015 19:13:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

>> Normally I would pass "-g -O0" flags to gcc to solve this for the
>> C/C++ programs that I write. How can I do the equivalent thing for
>> Emacs?
>
> You'll need to reconfigure and rebuild Emacs.  If you're on a GNU or
> other Unix-like system, do something like:
>
>     $ CFLAGS='-g3 -O0' ./configure <other arguments>
>
> , then call make in the usual way.  (If you're on a different OS, such as
> Microsoft Windows, then I can't help you here, but somebody else will.)

Same on Windows.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]