Documentation > Tips and Tricks

no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...

(1/1)

new:
Hi... (I **love** NuTyX! I made a custom boot partition [not in fstab!] with ONLY 16 files!)
I just now began my [minimal] kernel config journey per your https://www.nutyx.org/en/build-kernel.html
I'm stuck: there's no 'HOSTCC'; no [bin/]gcc (nor cc), tho the 'base' gcc is there.
`cards files gcc` doesn't show/list any bin/*cc, so I'm lost/stuck.
(how do I get the real gcc [executable binary]?)

UPDATE/EDIT: I think I just figured it out: I need gcc.devel
(I looked in http://downloads.nutyx.org/i686/stable/base/gcc/

BUT... now sys/types.h is 'not found'. What 'pkg' is /usr/include/sys in?
NOT glibc! (and there's no build-essentials nor libc6-dev) Oh finally: glibc-devel
**Do I need [to keep] glibc? [probably]

NOW, make menuconfig is missing curses.h  Again, how do I figure out which 'pkg'??
Ok, ncurses.devel

Thierry:
You just miss the devel packages set. So after a:


--- Code: ---get cards.devel
--- End code ---

everything should run smooth like a baby

EDIT: I will add this command to the  https://www.nutyx.org/en/build-kernel article

Regards

Navigation

[0] Message Index

Go to full version