Dear ynu146,
I guess you want to link your C code (compiled with the C compiler) to Singular. The right choice for this is libsingular.
We will provide Information about libsingular here soon.
Meanwhile have a look at the following how-to page:
http://www.singular.uni-kl.de/svn/trunk/HOWTO-libsingularBest regards,
Alexander