On 20-11-2017 11:53:32 -0600, R0b0t1 wrote: > Hello friends! > > On Monday, November 20, 2017, Sergei Trofimovich <[1]sly...@gentoo.org> wrote: > > On Sun, 19 Nov 2017 22:47:35 -0600 > > R0b0t1 <[2]r03...@gmail.com> wrote: > > > >> Understanding an existing codebase should not be a technical > >> challenge. I had to resort to reimplementing all of the steps myself, > >> in part to understand if they were done properly in the first place. > > > > Looks like you are an expert in this area now and are perfectly capable > > of submitting the patches. I can review them at least for crossdev. > > > > In my goal to understand bootstrap-rap I am still in the process of creating > something crossdev-like that can be used to generate a toolchain. > > A recurring problem I have had is that this set of related tasks - generating > cross compilers and packages, generating an initramfs, or generating a > prefixed > pseudoinstallation - all start by reimplementing some subset of portage. > > For prefix/RAP it makes sense, for the others possibly not.
You may also want to understand that cross-compiling (or compilers) in itself is a very difficult topic to get right. Mixing that with Prefix FAICT never got out of the lab-setting in which it was attempted. > >> Unfortunately these are things that the original authors should > >> produce. Experience has shown me that documentation written by > >> ancillary contributors that do not have deep experience with the code > >> base is poor. Like Benda said, documentation can always be improved. In the case for bootstrap-prefix, it used to be documented in terms of steps and why one had to do them that way. Somewhere at the start of 2006, when there was like 150 packages, and one arch (ppc-macos), said script didn't exist. As it stands today, the key decisions and workarounds are actually documented, but as RAP actually shows, if you only focus on a specific use-case, you can get rid of a lot of (what appears to be) nonsense. It's the context in which you look at the projects you refer to. > Yes, that is what I am doing with my own code as I have the time to > write it. I mostly still have no idea what is going on in the already > written code. Perhaps open up the dicussion on the related project's mailing lists. At least I haven't come across any request to explain certain bits/decisions yet. Thanks, Fabian -- Fabian Groffen Gentoo on a different level
signature.asc
Description: Digital signature