How to interface native methods in LINUX?

As the cc command in Solaris is :cc -G -I/usr/java/include -I/usr/java/include/solaris \filename.c -o libfile.sowhat will be the similiar command in LINUX system?
[190 byte] By [ggrn] at [2007-9-26 9:17:16]
# 1
you should add -shared option too
v.pavlov at 2007-7-1 20:30:57 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
thanks for replying but could you please give me the full command
ggrn at 2007-7-1 20:30:57 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
Take a look at http://fir4o.hit.bg/nativetest-src.zip -There is a Makefile which I used to compile shared library for Linux.
v.pavlov at 2007-7-1 20:30:57 > top of Java-index,Java HotSpot Virtual Machine,Specifications...