You are not logged in.
I'm creating a package for aarch cross compiler and in order for glibc to compile, it depends on gcc. For cross compilation, glibc can either be compiled with the full gcc, or a bootstrap compiler. How can I set that glibc either depends on the full-gcc or the boostrap compiler?
Is there a way for me to set makedepends= to both (but not at the same time, as you cannot have both the bootstrap compiler and the full compiler installed at the same time)
Last edited by solskogen (2021-02-10 14:55:32)
Offline
What is the bootstrap compiler and which package contains it? If gcc and that package have a common provides entry, you can use that as the dependency.
Last edited by schard (2021-02-09 13:23:38)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
I've worked around it be having both the bootstrap compiler and the full compiler provide the $_target-gcc, and have them conflict with each other. Works ok.
Offline