gradle-native icon indicating copy to clipboard operation
gradle-native copied to clipboard

Native system libraries should be opt-in instead of configured by default

Open lacasseio opened this issue 8 years ago • 1 comments

Expected Behavior

As an example, it is possible to build native project without using Windows SDK.

Current Behavior

The system library and the toolchains are tightly couple together which makes it almost impossible to opt-out as expressed in this forum post.

Context

It is completly valid to build application without using the Windows SDK. It also make kernel development more complicated where the Windows DDK should be use instead.

Steps to Reproduce (for bugs)

N/A

Your Environment

See this forum post: https://discuss.gradle.org/t/native-compilation-with-msvc-and-arm/20092

lacasseio avatar Oct 26 '16 15:10 lacasseio

c compiler need to be flexible rather than binding to gcc native toolchain, Solaris compiler CC, cc and etc shall be able to work in gradle as well.

https://discuss.gradle.org/t/use-custom-toolchain-in-gradle-no-gcc-or-clang/21139

j2xu avatar Jul 10 '17 22:07 j2xu