GNU bug report logs -
#27628
Fix compilation features of GCL and Maxima
Previous Next
Reported by: Kei Kebreau <kei <at> openmailbox.org>
Date: Sun, 9 Jul 2017 01:14:01 UTC
Severity: normal
Done: Kei Kebreau <kei <at> openmailbox.org>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 27628 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
ludo <at> gnu.org (Ludovic Courtès) writes:
> Kei Kebreau <kei <at> openmailbox.org> skribis:
>
>> + ;; Ensure that Maxima will have access to GCC and its required
>> + ;; components at runtime.
>
> In fact, if it’s an optional feature, it would be better to take GCC &
> co. from $PATH, because GCC is a huge dependency. (Same for the gcl
> change.)
>
> Thoughts?
>
I started on this patchset because Guix's Maxima cannot graph functions.
This feature relies on GCL's 'compile' function. The 'compile' function
seems to be a Common Lisp standard since at least the publication of the
CLtL2 standard. Maxima assumes (correctly) that this function is present
and relies on it for various base functionalities (compiling Maxima math
functions to compiled Lisp functions, graphing, etc.).
I turns out that fixing the underlying issue with GCL removes the need
for GCC's presence at runtime, but binutils is still necessary due to
Maxima using the 'compile' function from GCL directly. This stems from
the GCC package not finding the binutils at runtime, i.e.
guix environment --pure --ad-hoc gcc -- gcc hello-world.c
returns
gcc: error trying to exec 'as': execvp: No such file or directory
but
guix environment --pure --ad-hoc gcc -- gcc -S hello-world.c
compiles hello-world.c to its assembly language equivalent. Whether or
not this is intended is unclear to me. FWIW, if the GCC package itself
has access to the binutils at runtime, wrapping GCL and Maxima is unnecessary.
> Ludo’.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.