There are many projects that don't have a configure script that finds gcc.
Also makes it more symmetric with the clang-toolchain, that also does this.
* gnu/packages/commencement.scm (make-gcc-toolchain): Create the symlink.
i'm not sure what was the conclusion about this. clang-toolchain does
create a cc symlink, so i have mirrored what clang-toolchain does into
i thought i'll send this patch lying in my kludges branch, and
offer it either for rejection or inclusion, as you see fit.
gnu/packages/commencement.scm | 6 ++++++
1 file changed, 6 insertions(+)
Toggle diff (23 lines)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index fe6f025257..fceda97ad5 100644
@@ -3554,6 +3554,12 @@ (define* (make-gcc-toolchain gcc
((_ . directory) directory))
+ ;; Create 'cc' so that one can use it as a drop-in
+ ;; replacement for the default tool chain and have
+ ;; configure scripts find the compiler. Note that
+ ;; 'c++' is already present, no need to symlink it.
+ (symlink "gcc" (string-append out "/bin/cc"))
(union-build (assoc-ref %outputs "debug")
(list (assoc-ref %build-inputs