Subject: Re: bug#35551: package gcc does not depend on binutils and glibc

From: Nicolas Goaziou <[email-masked]>
Date: Sat, 04 May 2019 01:27:00 +0200

Hello,

Bruno Haible <[email-masked]> writes:

> After installing the guix-1.0 installation image
> (guix-system-vm-image-1.0.0.x86_64-linux) and running it with qemu,
> I wanted to compile a hello-world program in C.
>
> $ cat hello.c 
> #include <stdio.h>
> int main () {
>   printf("Hello world\n");
>   return 0;
> }
>
> $ guix install gcc
> $ gcc hello.c
> error trying to exec 'as': execvp: No such file or directory

You are really looking for `gcc-toolchain' package. See section 2.6.6 in
the manual.

HTH,

Regards,

-- 
Nicolas Goaziou