I have used thic command 
libtool --mode=compile gcc -g -o -c foo.c

The .o file is creating in the current directory. .libs in not creating.

Actual output should be like this after the command:
$libtool --mode=compile gcc -g -O -c foo.c
     mkdir .libs
     gcc -g -O -c foo.c  -fPIC -DPIC -o .libs/foo.o
     gcc -g -O -c foo.c -o foo.o >/dev/null 2>&1

but observed output is 
$libtool --mode=compile gcc -g -O -c foo.c
     gcc -g -O -c foo.c  -fPIC -DPIC -o .libs/foo.o
     gcc -g -O -c foo.c -o foo.o >/dev/null 2>&1.

Is there any correction i have to be done?




-- 
View this message in context: 
http://old.nabble.com/.-libs-directory-is-not-creating-automatically-tp35926491p35926491.html
Sent from the Gnu - Libtool - Discuss mailing list archive at Nabble.com.


_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to