bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on


From: Stefan Monnier
Subject: bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows
Date: Mon, 25 Jun 2012 10:35:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>> You should use "make compile" in this situation.  "make recompile"
>> might produce incorrect byte code, because it compiles all the files
>> in the same Emacs session.

Actually, I don't know of any case where it ends up generating incorrect
byte-code.  It will signal different (fewer) warnings and things like
that, but AFAIK the generated byte-code should be pretty much
equivalent.  Moreover, if it ever ends up generating incorrect
byte-code, it's most likely because of a bug in some other file
(typically, the bug would be that Emacs's behavior is modified just by
loading that file).

> I would like to suggest just removing the "recompile" target altogether. 
> Although I have never used it for anything personally, so maybe I'm
> missing something, but I cannot see why this target should exist.

It is significantly faster on uniprocessor machines.

I don't think we should remove it, but we should definitely rename it
because nothing in "compile -vs- recompile" hints at the difference.

We could rename it to "single-process-compile" or something like that.


        Stefan





reply via email to

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