Re: Is mingw-llvm useful? (was Re: Dropping wine from ARM)

2022-03-30 Thread Neal Gompa
On Wed, Mar 30, 2022 at 9:35 AM Sandro Mani  wrote:
>
>
> On 30.03.22 15:31, Sandro Mani wrote:
> >
> > On 30.03.22 15:26, Neal Gompa wrote:
> >> On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth 
> >> wrote:
> >>> On 3/30/22 7:38 AM, Sandro Mani wrote:
>  Hi
> 
>  What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm
>  package.
> 
>  Thanks
>  Sandro
> >>>
> >>> It is a complete, cross-compiling, Windows PE building
> >>> toolchain[1][2] that uses
> >>> llvm instead of gcc. The 'mingw-llvm' package is the llvm backend in
> >>> PE form and not
> >>> the complete toolchain.
> >>>
> >> The main llvm package should be capable of this already, as it's a
> >> retargetable compiler. The clang package provides a clang program
> >> that's capable of this.
> > This makes me wonder, is mingw-llvm actually useful? I took interest
> > into it way back when I thought it was necessary to get mingw-rust
> > building, but this turned out not to be the case (resp mingw targets
> > are now built directly in the main rust package). So any point in
> > keeping mingw-llvm around?
> To add to this: as I understand it's just the llvm backend which could
> be used on a Windows host, but serve no purpose in cross-compiling from
> linux to mingw?

The main value for mingw-llvm would be for supporting a mingw-mesa
package. The latter needs LLVM infrastructure in the first place to
work, and there's a lot of work going on in Mesa around
Mesa-on-Windows right now.


-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is mingw-llvm useful? (was Re: Dropping wine from ARM)

2022-03-30 Thread Sandro Mani


On 30.03.22 15:31, Sandro Mani wrote:


On 30.03.22 15:26, Neal Gompa wrote:
On Wed, Mar 30, 2022 at 9:25 AM Michael Cronenworth  
wrote:

On 3/30/22 7:38 AM, Sandro Mani wrote:

Hi

What does llvm-mingw mean exactly? FWIW, there is a mingw-llvm 
package.


Thanks
Sandro


It is a complete, cross-compiling, Windows PE building 
toolchain[1][2] that uses
llvm instead of gcc. The 'mingw-llvm' package is the llvm backend in 
PE form and not

the complete toolchain.


The main llvm package should be capable of this already, as it's a
retargetable compiler. The clang package provides a clang program
that's capable of this.
This makes me wonder, is mingw-llvm actually useful? I took interest 
into it way back when I thought it was necessary to get mingw-rust 
building, but this turned out not to be the case (resp mingw targets 
are now built directly in the main rust package). So any point in 
keeping mingw-llvm around?
To add to this: as I understand it's just the llvm backend which could 
be used on a Windows host, but serve no purpose in cross-compiling from 
linux to mingw?

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure