Author Topic: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...  (Read 2051 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
  • Hero Member
  • *****
  • Posts: 674
  • Karma: +12/-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

Regards
« Last Edit: Fri Jan 06 16:15:23 2023 by Thierry »

Dj

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
« Reply #2 on: Fri Jan 06 14:42:24 2023 »
How to rebuild current kernel ? Where is .config file located ? Thank you.

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 674
  • Karma: +12/-0
  • Gender: Male
    • NuTyX distribution
Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
« Reply #3 on: Fri Jan 06 15:35:12 2023 »
Quote
Where is .config file located ?

https://github.com/NuTyX/packages-x86_64/blob/testing/base/kernel/config_64

See the FAQ:
http://nutyx.org/en/faq#7

Otherwise, I can offer this, it's a bit old and only in french available. I can upgrade if really needed.

http://nutyx.org/fr/build-kernel

BR,
Thierry
« Last Edit: Fri Jan 06 15:38:05 2023 by Thierry »

Dj

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
« Reply #4 on: Fri Jan 06 19:10:08 2023 »
Thank you. I searched for kernel in usr/src/linux or something, in order to "make menuconfig". Where I can find folder with configuration file in order to compile custom kernel ? Thank you.

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 674
  • Karma: +12/-0
  • Gender: Male
    • NuTyX distribution
Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
« Reply #5 on: Fri Jan 06 19:52:00 2023 »
In /boot you find the config