Author Topic: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...  (Read 1166 times)

new

  • Guest
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
« Last Edit: Fri Sep 30 10:29:59 2016 by new »

Thierry

  • Administrator
  • Sr. Member
  • *****
  • Posts: 469
  • Karma: +7/-0
  • Gender: Male
    • NuTyX distribution
Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
« Reply #1 on: Fri Sep 30 09:14:22 2016 »
You just miss the devel packages set. So after a:

Code: [Select]
get cards.devel
everything should run smooth like a baby

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

Regards
« Last Edit: Fri Sep 30 10:11:55 2016 by tnut »