Hi, Currently we are using solaris operating system with Nmake utility to build C++ code and our C++ applications will also runs on solaris OS.
output of uname -a :
SunOS dvc7959 5.10 Generic_150400-20 sun4v sparc sun4v
Now we are trying to use gradle tool to build our C++ code in windows but the binaries/libraries will be deployed on solaris. so we tried to set targetmachine in build.gradle file like below but we are getting an error “No such property: sunos for class: org.gradle.nativeplatform.internal.DefaultTargetMachineFactory”.
build.gradle:
application { targetMachines = [
machines.sunos.sparc
]
}
we see in documentation like below for other operating system.
application {
targetMachines = [
machines.linux.x86_64,
machines.windows.x86, machines.windows.x86_64,
machines.macOS.x86_64
]
}
-
What will be the syntax for specifying the solaris operating system like above? Could you please help us ?
-
Also will gradle supports for building C++ code against solaris OS from windows?
-
Can we install gradle on solaris OS to build C++ code. ?
Waiting for your reply. Thanks in advance.