GCC can't compile my .C file

Post here if you are a new Porteus member and you're looking for some help.
glestwid
Samurai
Samurai
Posts: 182
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 5.0 i586

GCC can't compile my .C file

Post#1 by glestwid » 07 May 2019, 17:19

Hi,

I installed XZM GCC-5.3.0-i586-bundle on my Porteus but when I tried to compile a simple .C file I got the following error:
stdio.h: No such file or directory
The line that GCC complains at is a simple #include <stdio.h>

What should I do to have an opportunity to build C files into apps in Porteus?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

GCC can't compile my .C file

Post#2 by Ed_P » 07 May 2019, 17:42

Do you have the 05-devel.xzm file activated?
Ed

glestwid
Samurai
Samurai
Posts: 182
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 5.0 i586

GCC can't compile my .C file

Post#3 by glestwid » 07 May 2019, 18:18

Nope, and the USM tool does not find '05-devel'.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

GCC can't compile my .C file

Post#4 by Ed_P » 07 May 2019, 19:17

Ed

glestwid
Samurai
Samurai
Posts: 182
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-XFCE 5.0 i586

GCC can't compile my .C file

Post#5 by glestwid » 07 May 2019, 20:01

Thanks! The frugalware site helped me, and GCC no longer complains for missed header files.

Post Reply