-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I build this? #68
Comments
I initially used github to backup my projects after a USB flash drive failure (it just heats up, likely shorted itself somehow). When I started MLFS & CMLS, i did not make a dedicated email because, I thought no one would take interest. Apparently I was wrong. So direct email messages can be sent to mlfs.dev@gmail.com. My work here on github is just a hobby. I work on it when I have time... usually at my job when work is slow. Lately, I've been doing a lot of over time and work just got busy for the last 4 months. I have seen your earlier issue request. I just haven't sat down. Biggest issue I've noticed with others building my projects is the host system in use. I stopped using distros about 7 years ago. So, when I build any of my projects, my host is a LFS-derivative. I don't have those distro-based 'changes'... such as under ubuntu, 'sh' is linked to 'dash', but under LFS, 'sh' is linked to 'bash'. A lot of scripts that begin with the shebang, '#!/bin/sh' have "bashism" that require bash as the sh interpreter. Essentially, CMLFS is built by building a 'cross toolchain' to build a sand-boxed toolchain that then builds CMLFS. |
I also am also testing a new design of my s6+s6-rc bootscripts. S6 is hard to develop [for me] due to lack of examples and I couldn't setup a VM to test it faster. |
I admit, CMLFS & MLFS are not for beginners. For CMLFS, begin the build by reading I suggest doing a build of LFS first...which can then be used as the host to build CMLFS. |
Tried emailing you but your account doesn't have obvious email address and user@github bounced because of "organizational settings"?
I cloned your "build llvm with musl" repo, but after reading the README I'm not entirely sure how to run the build? It seems to want me to download another one of your projects and... create a chroot to run it in maybe?
I have my own build script that was building a musl-based llvm Hexagon cross compiler (based off the build plumbing the Hexagon guys checked into the kvm test suite: their test involved building a compiler to build their vm image), but when I tried to run it again llvm died trying to link the rtsanitizer code to libc, which obviously didn't exist yet because you need a compiler to build the C library with. (There was also some discussion on the toybox mailing list about this in... July of last year, I think? I can dig up a link if you're curious.)
How do I build your toolchain project, and have you checked for regressions recently?
Rob
The text was updated successfully, but these errors were encountered: