Issue 61531
Summary Please help on cross-compiling c files into xx.bc
Labels new issue
Assignees
Reporter mxtsuper
    Hello

Can I crossly compile c files into xx.bc file with LLVM from windows to linux, and run it with lli xx.bc ?

I try the commands, but it can not work ? 
 clang --target=x86_64-linux-gnu --sysroot=D:\mingw\x86_64-linux-gnu -fuse-ld=lld -stdlib=libc++ main.c -S -emit-llvm
Please give me some hints, thanks. 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to