[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dependencies in c++
From: |
Raja R Harinath |
Subject: |
Re: dependencies in c++ |
Date: |
19 Oct 2000 14:27:18 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Patrick Guio <address@hidden> writes:
> On 19 Oct 2000, Alexandre Oliva wrote:
> > On Oct 19, 2000, Patrick Guio <address@hidden> wrote:
> > > I really have problems to get the dependencies stuff to work correctly. I
> > > can see that some depcomp files are installed in my subdirectories but if
> > > I touch a .h file the stuff is not rebuilt.
> >
> > Which compiler are you using? The new dependency-tracking code in
> > automake only enables dependency tracking by default if the compiler
> > can generate dependencies as a side-effect of compilation. In other
> > cases, you have enable it explicitly. Run `configure --help' for the
> > options.
>
> I use mainly g++ but also cxx and KCC. When running
> % configure --enable-dependency-tracking
> I get the following:
>
> ....
> checking whether the C++ compiler works... yes
> ....
> checking dependency style of g++... (cached) none
>
> Does it has something to do with my problem?
> I use autoconf/automake/libtool which I get from cvs and the last I have
> successfully compiled is less than 1 month.
Did you remove config.cache before rerunning the configure?
'config.cache' may have the results of a previous run where you didn't
--enable-dependency-tracking, or it may have had the results for a
different compiler.
- Hari
--
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash