ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

How to install aarch64-linux-gnu and arm-linux-gnueabihf in cygwin for cross compilation

Open BhaskarsarmaP opened this issue 7 years ago • 4 comments

Need process of installing cross compiler in cygwin. I have installed scons and need the process of installing cross compiler for arm .

BhaskarsarmaP avatar Mar 31 '19 11:03 BhaskarsarmaP

Hi @BhaskarsarmaP

Please take a look at the documentation on how to build ACL on Windows: https://arm-software.github.io/ComputeLibrary/v19.02/index.xhtml#S3_5_windows_host

Hope this helps.

morgolock avatar Apr 01 '19 10:04 morgolock

Hi ,

I want to cross-compile compute library on windows machine using windows command prompt.

Are there any linaro cross compiler executables(arm-linux-gnueabihf-g++ && arm-linux-gnueabihf-g++) available in windows, which can be used to cross compile compute library without using windows subsystem/cygwin ?

BhaskarsarmaP avatar Apr 01 '19 13:04 BhaskarsarmaP

Hi @BhaskarsarmaP

You can check on the linaro website. There are binaries for mingw32, although we haven't tried this. The easiest and supported way is what @morgolock suggested.

mpekatsoula avatar Apr 01 '19 13:04 mpekatsoula

Hi @BhaskarsarmaP

In theory it should be possible to build ACL on Windows natively but in practice this is difficult because you need a linux/unix toolchain.

When running windows there are two options for building ACL:

  1. Cygwin
  2. Ubuntu on Window

Please refer to the link I mentioned in my previous comment for more details.

morgolock avatar Apr 02 '19 10:04 morgolock