[LLVMdev] unable to interface with target machine

Philip Ashmore contact at philipashmore.com
Wed Nov 14 14:11:00 PST 2012

Hi there.

Sorry in advance if this is a silly question.

I've got a test program in my v3c-storyboard project
that generates LLVM assembly for a hello world program.

If I try

   clang -o hello-world hello-world.ll

I get "error: unable to interface with target machine".

But if I

   llvm-as -o hello-world.bc hello-world.ll && "
   "llc -o hello-world.S hello-world.bc && "
   "gcc -o hello-world hello-world.S"


What am I missing?

Philip Ashmore

More information about the llvm-dev mailing list