Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for mingwX86 #85

Open
shalva97 opened this issue Jul 24, 2022 · 5 comments
Open

Support for mingwX86 #85

shalva97 opened this issue Jul 24, 2022 · 5 comments

Comments

@shalva97
Copy link

Hi, when i try to build mingwX86 version it fails with

> Could not resolve all files for configuration ':mingwX86CompileKlibraries'.
...
> No matching variant of org.jetbrains.kotlinx:kotlinx-cli:0.3.5 was found. The consumer was configured to find a usage of 'kotlin-api' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'mingw_x86'
@SvyatoslavScherbina
Copy link
Member

Hi. The library doesn't support mingwX86 target at the moment, and we don't have short-term plans to fix this.

@JohnLCaron
Copy link

I see that you have target mingwX64, is mingwX86 much different?
(Sorry for my ignorance)

@shalva97
Copy link
Author

mingwX64 and mingwX86 are Windows 64 bit and Windows 32 bit. I dont know technical differences but my hope is that if mingwX86 support is added then the compiled code should also run on Windows XP

@SvyatoslavScherbina
Copy link
Member

I see that you have target mingwX64, is mingwX86 much different?

It is different, to some extent. For example, see https://youtrack.jetbrains.com/issue/KT-36669/Support-mingwX86Test-for-a-Windows-x64-hosts

As a result, it is not possible to run unit tests for the library compiled for mingwX86. Can't test => shouldn't publish (unless we clearly communicate that the library is not tested on this particular target).

@JohnLCaron
Copy link

I would vote for publish with warning. Perhaps mark it beta?
It would allow users to try it, and give feedback, ie, to test it.

Maybe theres even an argument that testing on mingwX64 tells you something about mingwX86, too.

thanks for considering....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants