You are not logged in.

#1 2021-02-09 12:02:28

solskogen
Member
From: Norway
Registered: 2005-03-06
Posts: 121

[Solved] And/or in makedepends?

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

#2 2021-02-09 13:23:19

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,978
Website

Re: [Solved] And/or in makedepends?

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

#3 2021-02-09 13:59:16

solskogen
Member
From: Norway
Registered: 2005-03-06
Posts: 121

Re: [Solved] And/or in makedepends?

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

Board footer

Powered by FluxBB