public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* DejaGnu nightmares
@ 1997-12-05 16:52 J. Kean Johnston
  1997-12-07  9:55 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: J. Kean Johnston @ 1997-12-05 16:52 UTC (permalink / raw)
  To: EGCS Mailing List

Ok. I formally give up on DejaGnu. Great idea but I like my hair too much to
tear it all out any more. Ignore Robert Lipe's COFF results for EGCS, and
mine. DejaGnu still lies like a cheap rug. I have tried everything I can
think of to get it to handle multilibs on OSR5 properly, to no avail. It
will pass some options down tot eh compiler, but not to libio or libstdc++.
Sometimes it gets -I and -L flags right, sometimes not. I have found a few
inconsistancies in libgloss.exp (when I am more sure about my hacks I may
post a patch for people to peruse) and I now have DejaGnu passing correct
-I and -L flags for libio and libstdc++. But it will take the devil's own
luck to get the damn thing to pass -mcoff or -melf when I want it to.

I have tried running with "--tool_opts=-mcoff", with CC="gcc -mcoff",
CXX="gcc -mcoff", event --target_board="unix{-mcoff,-melf}", and none
of them pass any flags on down to libio. So all libio and libstdc++
tests have been failing (and succeeding in some cases) with the incorrect
versions of the library.

Doing a make install before running the tests only partially improves the
problem. At least it doesnt get the wrong header files now.

So ... can some DejaGnu expert PLEASE tell me how we can make sure that the
libio, libstdc++ and other non-gcc tests get passed the compiler flags
specified, and how to guarantee that library and include paths are correctly
calculated?

Kean.

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

* Re: DejaGnu nightmares
  1997-12-05 16:52 DejaGnu nightmares J. Kean Johnston
@ 1997-12-07  9:55 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-12-07  9:55 UTC (permalink / raw)
  To: J. Kean Johnston; +Cc: EGCS Mailing List

  In message < 19971205163714.39931@sco.com >you write:
  > Ok. I formally give up on DejaGnu. Great idea but I like my hair too much t  > o
  > tear it all out any more.
Take a deep breath :-)  Don't pull your hair out, that hurts.

I'm sure that between you Robert, & myself we can figure this out;
it may take some time, but we can/will figure it out.

I think the first step is for me to make sure that the multilib
support for libio/libstdc++ works with the directory reorg that
was done when egcs started.  We'll move forward from there.

Jeff

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

end of thread, other threads:[~1997-12-07  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-05 16:52 DejaGnu nightmares J. Kean Johnston
1997-12-07  9:55 ` 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).