Command for Compiling c program code in terminal

Hi.

I have already installed org.gnome.Sdk:
# flatpak install gnome org.gnome.Platform//3.22 org.gnome.Sdk//3.22
erro: org.gnome.Sdk/x86_64/3.22 already installed

But can’t find the binary anywhere on the system:
# find / -xdev -iname ‘gcc’ -exec file {} ;
find: File system loop detected; /sysroot/ostree/deploy/eos/deploy/307c15909ca8f01ddb9a8e37e6f27cf3d96637504625d59882b1585c9335cb31.0' is part of the same file system loop as/’.
/sysroot/ostree/deploy/eos/deploy/9ac676676f6e6f110bd8e56ffddd083b3a0199e117964f979e1bc70e1c83792a.0/usr/lib/gcc: directory
/sysroot/ostree/deploy/eos/deploy/9ac676676f6e6f110bd8e56ffddd083b3a0199e117964f979e1bc70e1c83792a.0/usr/share/bash-completion/completions/gcc: ASCII text
/sysroot/flatpak/.removed/removed-80e1b08461531ff7831b20bc4c4618b96bdbe83498f67ca4ca523812788cf884-YFGV0Y/files/lib/gcc: directory
/sysroot/flatpak/runtime/com.endlessm.Platform/x86_64/eos3.1/9bc6ac53b17d35c0322c41443e810eae1745c74d118660b7d54d59cd8fd5ab6f/files/lib/gcc: directory
/sysroot/flatpak/runtime/org.gnome.Sdk/x86_64/3.22/7ec9b226b95c0d9cb1efbfbe24b439c85bac36dda7b36e1ce2d34299dbc0c75b/files/include/atomic_ops/sysdeps/gcc: directory
/sysroot/flatpak/runtime/org.gnome.Sdk/x86_64/3.22/7ec9b226b95c0d9cb1efbfbe24b439c85bac36dda7b36e1ce2d34299dbc0c75b/files/lib/gcc: directory
/sysroot/flatpak/runtime/org.gnome.Sdk/x86_64/3.22/7ec9b226b95c0d9cb1efbfbe24b439c85bac36dda7b36e1ce2d34299dbc0c75b/files/lib/gcc/gcc: directory
/sysroot/flatpak/runtime/org.gnome.Sdk/x86_64/3.22/7ec9b226b95c0d9cb1efbfbe24b439c85bac36dda7b36e1ce2d34299dbc0c75b/files/bin/gcc: symbolic link to x86_64-unknown-linux-gcc
/sysroot/flatpak/runtime/org.freedesktop.Sdk/x86_64/1.4/d6a8c46e30e0518c8f6c8278edf0bd59800193494bbdaeee7393646385247445/files/include/atomic_ops/sysdeps/gcc: directory
/sysroot/flatpak/runtime/org.freedesktop.Sdk/x86_64/1.4/d6a8c46e30e0518c8f6c8278edf0bd59800193494bbdaeee7393646385247445/files/lib/gcc: directory
/sysroot/flatpak/runtime/org.freedesktop.Sdk/x86_64/1.4/d6a8c46e30e0518c8f6c8278edf0bd59800193494bbdaeee7393646385247445/files/lib/gcc/gcc: directory
/sysroot/flatpak/runtime/org.freedesktop.Sdk/x86_64/1.4/d6a8c46e30e0518c8f6c8278edf0bd59800193494bbdaeee7393646385247445/files/bin/gcc: symbolic link to x86_64-unknown-linux-gcc
/usr/lib/gcc: directory
/usr/share/bash-completion/completions/gcc: ASCII text

I think there’s something missing in this documentation, can you guys help me with having GCC on EndlessOS?

This is the system I’m using:
# uname -a
Linux endless 4.8.0-39-generic #42+dev175.25bb934beos3.1.2-Endless SMP Thu Mar 9 14:37:35 UTC 2 x86_64 GNU/Linux

Thank you in advance.

1 Like