automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: automake1.4h 'depcomp '


From: Kremp, Johannes (Extern)
Subject: RE: automake1.4h 'depcomp '
Date: Wed, 18 Jul 2001 10:46:49 +0200

$ automake --version
automake (GNU automake) 1.4h

AIX Version 4.3

depcomp attaches to "$@" the flags -Wc,-M if i want to link with libtool.
but this can't be alright.

output after calling make:

$ make
source='chsize.c' object='chsize.lo' libtool=yes \
depfile='.deps/chsize.Plo' tmpdepfile='.deps/chsize.TPlo' \
depmode=aix /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile cc -DPACKAGE=\"rvs\" -DVERSION=\"2.05\"
-I. -
I. -I../src -c -o chsize.lo `test -f chsize.c || echo './'`chsize.c
rm: Not a recognized flag: W
Usage: rm [-firRe] [--] File...
cc -DPACKAGE=\"rvs\" -DVERSION=\"2.05\" -I. -I. -I../src -c chsize.c -Wc,-M
-DPIC
mv -f -Wc,-M.o chsize.lo
mv: Not a recognized flag: W
Usage: mv [-i | -f]  [--] src target
   or: mv [-i | -f]  [--] src1 ... srcN directory
make: *** [chsize.lo] Error 1
$


i try it by hand and i get the same errrormessages again:

$ ../libtool --mode=compile cc -c -o chsize.lo chsize.c -Wc,-M
rm: Not a recognized flag: W
Usage: rm [-firRe] [--] File...
cc -c chsize.c -Wc,-M  -DPIC
mv -f -Wc,-M.o chsize.lo
mv: Not a recognized flag: W
Usage: mv [-i | -f]  [--] src target
   or: mv [-i | -f]  [--] src1 ... srcN directory
$

only appending the flags to the target of shared objects isn't enough.
i put the flags after 'cc' and it runs:

$ ../libtool --mode=compile cc -Wc,-M -c -o chsize.lo chsize.c
cc -Wc,-M -c chsize.c  -DPIC
mv -f chsize.o chsize.lo
$



reply via email to

[Prev in Thread] Current Thread [Next in Thread]