Displaying 3 results from an estimated 3 matches for "header_dir".
2014 Sep 20
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
...ion.
Now I'm actually moving a step further. Take the same example in your
reply, say, if I have a bunch of .c files, where a.c calls functions
defined in b.c, b.c calls functions defined in c.c and so on. I know that I can
compile them into a .bc file by using this command:
~/llvm_link -I <HEADER_DIR> a.c b.c c.c d.c -emit-llvm -c -o linked.bc
But the problem is all of the files which define the callees need to be
specified manually. Is it possible that the source files in which the
callees are defined can be automatically inferred, compiled and linked? If
so, then we can just simply use th...
2014 Sep 20
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
Hi Johannes,
By following your directions, I can use your script as is to produce the
.bc file now. Here's my command line for compiling s_sin.c into s_sin.bc
file and the output:
command line:
~/Downloads/newlib-2.1.0/newlib/libm/mathfp ยป python ~/llvm_link.py s_sin.c
-I../common/ -I../../libc/include/ -o s_sin.bc
output:
Initiate CLANG (/path-to-clang):
Options: 's_sin.c
2014 Jul 21
0
Install VMware Workstation
...e from "/usr/lib/vmware/modules/source/vmnet.tar".
2014-07-21T09:01:41.625+02:00| vthread-3| I120: Successfully extracted the vmnet source.
2014-07-21T09:01:41.625+02:00| vthread-3| I120: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-Ie99mv/vmnet-only auto-build HEADER_DIR=/lib/modules/3.10.0-123.4.2.el7.x86_64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2014-07-21T09:01:43.144+02:00| vthread-3| W110: Failed to build vmnet. Failed to execute the build command.
Bonnie B Mtengwa
ICT