Re: [cfe-users] Problem compiling simple main.c with llvm-5.0

2018-01-08 Thread Georg-Johann Lay via cfe-users
On 28.12.2017 20:31, Don Hinton wrote: Looks like AVR is experimental, so you'll need to pass it via -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="AVR" As for the correct --target, you can take a look at the logic in llvm/cmake/config.guess to get an idea on how to construct one. hth... don Ok, thank

Re: [cfe-users] Problem compiling simple main.c with llvm-5.0

2017-12-28 Thread Don Hinton via cfe-users
Looks like AVR is experimental, so you'll need to pass it via -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="AVR" As for the correct --target, you can take a look at the logic in llvm/cmake/config.guess to get an idea on how to construct one. hth... don On Wed, Dec 13, 2017 at 2:15 AM, via cfe-users wro

[cfe-users] Problem compiling simple main.c with llvm-5.0

2017-12-13 Thread via cfe-users
Hi, I am new to llvm, so my first question is if this is the right mailing list to address respective problems using that software. I downloaded the llvm 5.0.0 binary bundle, and I can compile simple main.c for x64_64 host. However, when .../bin/clang main.c --target=avr error: unable to create