Help > Tips and Tricks

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

(1/2) > >>

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

Regards

Dj:
How to rebuild current kernel ? Where is .config file located ? Thank you.

Thierry:

--- Quote ---Where is .config file located ?
--- End quote ---

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

Dj:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version