public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* missing AC_OUTPUT in configure.in?
@ 1997-11-11  9:33 Robert Lipe
  1997-11-11 13:32 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Lipe @ 1997-11-11  9:33 UTC (permalink / raw)
  To: egcs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: missing AC_OUTPUT in configure.in?
  1997-11-11  9:33 missing AC_OUTPUT in configure.in? Robert Lipe
@ 1997-11-11 13:32 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-11-11 13:32 UTC (permalink / raw)
  To: Robert Lipe; +Cc: egcs

  In message < 19971111113319.31967@dgii.com >you write:
  > 
  > 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.
Actually this might be a red herring -- I don't think dejagnu pays
much (if any) attention to the CFLAGS/CXXFLAGS stuff in site.exp
anymore (in large part because of the need to handle multilib stuff).

I think you should be looking in libgloss.exp to figure out why multilib
testing isn't working for you.  You might start with a few
send_user "blah blah blah\n" statements inside get_multilibs, and
possibly its callers (search for get_multilibs in libgloss.exp).

You can also do 
send_user $foobar

To print on stdout the value of foobar :-)


jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-11-11 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-11  9:33 missing AC_OUTPUT in configure.in? Robert Lipe
1997-11-11 13:32 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).