How to load a c object file?

I’m using cling-Fedora17-x86_64-c++11 and i would like to load a C object file. Is this possible using .L c.o.

[ojohnson@localhost lib]$ file c.o
c.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

Thanks,
Oran

The following will work;

  1. g++ -shared -fPIC c.o -o c.so
  2. use .L c.so in cling

Thanks,
Oran