emacs-devel
[Top][All Lists]
Advanced

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

Re: Suppressing native compilation (short and long term)


From: Andrea Corallo
Subject: Re: Suppressing native compilation (short and long term)
Date: Sat, 15 Oct 2022 15:10:06 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Dumb question: can't we just run the spawned compilation processes with
>> --no-site-file?
>
> For trampolines, I guess that should work since they shouldn't depend on
> local customizations.  Of course, a tempting alternative is to resort to
> "binary hacking", i.e. compile *one* template-trampoline and then
> generate all every other trampoline by copying that template and
> patching the right "stuff" into it.  That would save us from running the
> compiler to generate the trampolines (i.e. it would let us behave
> correctly on Windows even when GCC/libgccjit is not found at run time),
> but it would force us to write architecture-dependent code to patch the
> binary template.

I think writing and maintaining arch dependent code to fix and
manipulate binaries is really a road we don't want to go down!

 (a terrified) Andrea :)



reply via email to

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