Displaying 1 result from an estimated 1 matches for "libcoreutil".
Did you mean:
libcoreutils
2018 May 14
1
LLVM IR with MakeFile
...generate the
llvm IR.
For example, I am now compiling the coreutils. I use `./configure
CC=/path/to/clang CFLAGS='-S -emit-llvm` to try to generate the target
makefile.It doesn't work due to the following error
make[2]: *** No rule to make target `lib/asnprintf.ll.ll', needed by
`lib/libcoreutils.a'. Stop.
I would like to use clang to cross compile the coreutils and the target
architecture is ARM. For the purpose of program analysis, I would like to
have the LLVM IR generated and also the dwarf information. Can anyone give
me some suggestions. Thank you so much
Regards
Muhui
-------...