r/linuxfromscratch • u/Ezio_rev • Jun 08 '24
Chicken and Egg problem
Compilers are dependant on glibc, so we need to compile glibc but we dont have a compiler to compiler glibc, (chicken and egg problem), what we do is create a downgraded compiler without glibc that will compile glibc for us.
But when we compile the downgraded compiler, isn't it also compiled by another compiler hence not from scratch? you need to compile something eventually to create your own compiler and whatever that is it will be by a compiler that you dont own.
8
Upvotes
View all comments
Show parent comment
3
u/sy029 Jun 09 '24
By your definition of scratch, should we also create our own CPU? how far does the rabbit hole go?