3 ms·
I am not sure what you mean, but in the chrooted environment where you compile for a distinct machine you obviously use configuration options, including compile
by adrian_b 3y ago
I am not sure what you mean, but in the chrooted environment where you compile for a distinct machine you obviously use configuration options, including compiler flags, appropriate for the target computer, not for the host computer, so "-mtune=native" cannot be used.
My point is that you do not need to setup a binrepo or any other complication like this.
You can install easily Gentoo on a very weak computer, by performing the installation on a typical desktop computer, which may run a different Linux distribution, not necessarily also Gentoo, and then just copying the files.
The Gentoo manual has always included information on how to install Gentoo inside a chrooted environment.
- trelane 3y ago> not for the host computer, so "mtune=native" cannot be used. Right, I am sure they intended it to be absurd in an amusing way.
- bee_rider 3y agoIndeed I did. Although, I do somewhat think that working out good optimization flags for cross-platform compiles is a moderately unusual skill, even among people who compile things regularly. Hopefully I caveated that sufficiently, I’m not saying it is a hyper-advanced dark art or anything. I have in the past set up code on a cluster to just compile on one node for the first run with -mtune=native because I’m lazy!