AdaCore / gnat-llvm

LLVM based GNAT compiler
179 stars 18 forks source link

make step fails #13

Closed nandub closed 4 years ago

nandub commented 4 years ago

The make llvm step worked as per the README.

However, when performing the make step it fails with here

Mac OS High Sierra 10.13.6 (17G13035) Using GCC 9.1.0 from here LLVM and Clang 10.0.0 from Homebrew

ArnaudCharlet commented 4 years ago

If you are using llvm and clang from brew then you should not perform 'make llvm', so you should simply remove your llvm build and instead follow this part of the README: << The recommended way to build GNAT LLVM is to use an existing LLVM and clang 10.0.0 package install via e.g. "brew install llvm" on Mac OS or "sudo apt-get install llvm-dev" on Ubuntu. You can also build llvm yourself with the options that suit your needs. After installing/building, make sure the llvm bin directory containing llvm-config and clang is in your PATH.

and then go to the "make" step directly.

nandub commented 4 years ago

Oh I see, I guess I didn't read carefully the instructions. I'll try that and see.

nandub commented 4 years ago

That work like a charm. Thanks.

ArnaudCharlet commented 4 years ago

Great, thanks for confirming!