Native under Linux:

./configure

checking dynamic linker characteristics... Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes


make

Entering directory `/usr/local/project/build_cross_libtool/other

/bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"foo\" -DVERSION=\"0.1\"  -I. -I/home/mo/cross_libtool/other     -g -O2 -c -o bar.lo `test -f /home/mo/cross_libtool/other/bar.c

/bin/sh ../libtool --mode=link gcc  -g -O2   -o libbar.la -rpath /usr/local/lib  bar.lo  
gcc -shared  .libs/bar.o  -lc  -Wl,-soname -Wl,libbar.so.0 -o .libs/libbar.so.0.0.0

ar cru .libs/libbar.a  bar.o
creating libbar.la


