Rice University logo
 
Top blue bar image
Just another weblog
 

2013 November Week 2 Weekly Report

We were able to manually compile one srpm package. Its a small package in the OSP level which is osp application environment configuration service. The package is located at $tizen_src/framework/osp/env-config. It only has one source code file “osp-env-config.c”. Tizen uses gbs build system which automatically prepares the required include files and libraries so that the certain package can be built successfully. So if we build the osp-env-config with gbs build system it will appropriately prepare the include files and libraries in the build directory. Then we can manually compile the env-config.c file using simple clang command which is

clang -emit-llvm I$buildhome/usr/include/vconf -I$buildhome/usr/include/dlog -o CMakeFiles/osp-env-config.dir/src/osp-env-config.c.o -c $buildhome/home/abuild/rpmbuild/BUILD/osp-env-config-1.2.2.1/src/osp-env-config.c

This command includes clog and vconf header file and emits llvm bit code which can now be used with our llvm tizen tool.

Leave a Reply