GCC can't compile my .C file

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
glestwid
Black ninja
Black ninja
Posts: 62
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-KDE 3.2.2 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: 5036
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit 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
Black ninja
Black ninja
Posts: 62
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-KDE 3.2.2 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: 5036
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

GCC can't compile my .C file

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

Ed

glestwid
Black ninja
Black ninja
Posts: 62
Joined: 09 Jan 2018, 20:05
Distribution: Porteus-KDE 3.2.2 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