This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

missing AC_OUTPUT in configure.in?



I've been trying to track down why 'make check' doesn't do anything
productive on OpenServer.   I think I'm getting warm, but could use
a little guidance.

The generated gcc/Makefile contains:

target_subdir = @target_subdir@

site.exp: ./config.status Makefile
        @echo "Making a new config file..."
        -@rm -f ./tmp?
        @touch site.exp
	[ munch ] 
        @echo "set CXXFLAGS \"-I$(objdir)/../$(target_subdir)libio -I\$$srcdir/.
./libg++/src -I\$$srcdir/../libio -I\$$srcdir/../libstdc++ -I\$$srcdir/../libstd
c++/stl -L$(objdir)/../$(target_subdir)libg++ -L$(objdir)/../$(target_subdir)lib
stdc++\"" >> ./tmp0


My first inclination is to say that 'target_subdir' is missing
from the end of gcc/configure.in which is forcing it to not be
substituted into the generated gcc/Makefile.

How is this working for any target?   

How does this work on a multilibbed target?  If you explictly set -L
like this, won't gcc trip on itself when it tries to iterate over
the multilib flags?


The only way this could work is if dejagnu recognizeds 
"@target_subdir@" some special flag and knows to do something
like a try to figure out the libes, but since I can't seem
to find a flag in gcc.c that is a "print-search-dirs-and-use
-multilib-dammit", I wonder if dejagnu is really that smart or
of this is just a typo.

Any advice?

RJL


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]