libtool
[Top][All Lists]
Advanced

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

Re: tagdemo test / -c -o


From: Ralf Wildenhues
Subject: Re: tagdemo test / -c -o
Date: Sun, 30 Oct 2005 02:23:13 +0100
User-agent: Mutt/1.5.9i

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




reply via email to

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