Re: dependencies in c++
On 19 Oct 2000, Raja R Harinath wrote: Patrick Guio [EMAIL PROTECTED] writes: On 19 Oct 2000, Alexandre Oliva wrote: On Oct 19, 2000, Patrick Guio [EMAIL PROTECTED] 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. I don't have any config.cache! But at the end of config.log I have a list of variables Cache variables: | ac_cv_build='i686-pc-linux-gnu' | ac_cv_build_alias='i686-pc-linux-gnu' | ac_cv_c_compiler_gnu='yes' | ac_cv_cxx_compiler_gnu='yes' | ac_cv_env_CC_set='' | ac_cv_env_CC_value='' | ac_cv_env_CFLAGS_set='' | ac_cv_env_CFLAGS_value='' | ac_cv_env_CPPFLAGS_set='' | ac_cv_env_CPPFLAGS_value='' | ac_cv_env_CXXFLAGS_set='' | ac_cv_env_CXXFLAGS_value='' | ac_cv_env_CXX_set='' | ac_cv_env_CXX_value='' | ac_cv_env_LDFLAGS_set='' | ac_cv_env_LDFLAGS_value='' | ac_cv_env_build_alias_set='' | ac_cv_env_build_alias_value='' . and so on... Are you talking about that? Sincerely Patrick
Re: dependencies in c++
Patrick Guio [EMAIL PROTECTED] writes: On 19 Oct 2000, Alexandre Oliva wrote: On Oct 19, 2000, Patrick Guio [EMAIL PROTECTED] 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 -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash