title: How to Compile .c , .h and .so file with gcc?
body: <p>currently im doing some embedded programing with linux. so i have a host computer Linux ubuntu and my qemu xilinx zynq(virtual).
   to comile normal .c file is simple (bash > arm-xilinxa9-linux-gnueabi-gcc filename.c -g -o outputfilename)</p>
  
  <p>the outputfilename is executable in qemu xilinx zynq.</p>
  
  <p>Now i have 3 type of file hello.c hello.h and hello.so , i hope anyone out there could show me how to compile this 3 file together, Thank you :)</p>
  
  <p>hello.c &lt;--> hello.h &lt;--> hello.so</p>