From: Mark D. <mdu...@at...> - 2018-01-26 16:10:22
|
I'm going to target building on native hardware for now. I've had a lot of fun adapting packages to cross building and I know some of them just don't take well to it at all. Obviously I know for the most part this stuff is solved with things like bitbake so I know it's all possible. If someone wants to take my work and add cross building, I will support it and work with it but for now my main interest is building under aranym (as it's extremely fast for me on my xeon servers). Thanks, Mark On 01/26/2018 09:34 AM, Thorsten Otto wrote: > On Freitag, 26. Januar 2018 03:27:43 CET Mark Duckworth wrote: >> RPM does not really support cross compiling in any meaningful way. At >> least not the older version we are using. > I'm not sure which rpm version you intend to use, but in most cases it is just > a matter of choosing a different compiler, and adding the corresponding flags > to the configure arguments. Both can be done in the spec file, so i don't see > a reason why this shouldn't be supported. > > For example, attached is a spec file for bzip2. It needs the same patches i > used in my custom build scripts (http://tho-otto.de/download/mint/bzip2-1.0.6-mint.tar.xz) |