Sorry for self-reply. * Ralf Wildenhues wrote on Sun, Oct 30, 2005 at 02:08:14AM CET: > * Tim Rice wrote on Sun, Oct 30, 2005 at 01:41:22AM CEST: > > > > The native c/CC compilers on the that machine does not like -c -o > > Is there a way to work around this, or is this an automake 1.9.6 bug? > > Oops. Does it work if you change the AC_PROG_CC_C_O to be > AM_PROG_CC_C_O in libtool-1.5/tagdemo/configure.ac and rerun bootstrap?
Gah. AM_PROG_CC_C_O is C only, not C++. I guess you should be able to use this manually-written rule as a workaround: .cpp.$(OBJEXT): $(CXXCOMPILE) -c $< or this (uses undocumented Automake knowledge, thus not advised): tagdemo_OBJECTS = tagdemo.lo Reminder to self (or whoever else): Automake needs to learn that C++ and Fortran 77/90 compilers may not understand `-c -o'. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool