Official NuTyX forums

Help => Tips and Tricks => Topic started by: new on Fri Sep 30 05:29:23 2016

Title: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: new on Fri Sep 30 05:29:23 2016
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 (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/ (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
Title: Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: Thierry 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
Title: Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: Dj on Fri Jan 06 14:42:24 2023
How to rebuild current kernel ? Where is .config file located ? Thank you.
Title: Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: Thierry 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
Title: Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: Dj 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.
Title: Re: no bin/*cc in gcc 'base pkg'! *Newbie* lost at [kernel] make ...
Post by: Thierry on Fri Jan 06 19:52:00 2023
In /boot you find the config