Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Using a compiler for testsuite that's not GCC?
@ 2001-10-29  6:13 Timothy Wall
  2001-10-29  8:21 ` Andrew Cagney
  2001-10-29  9:44 ` Stan Shebs
  0 siblings, 2 replies; 7+ messages in thread
From: Timothy Wall @ 2001-10-29  6:13 UTC (permalink / raw)
  To: gdb

What's the best way to go about this?  It seems a lot of the tests assume gcc and so throw gcc-specific options at the compiler.  It seems the approach with least effort would be to point dejagnu at a wrapper which translates gcc options into ones the other compiler understands...

T.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Using a compiler for testsuite that's not GCC?
@ 2001-10-29 20:04 Timothy Wall
  0 siblings, 0 replies; 7+ messages in thread
From: Timothy Wall @ 2001-10-29 20:04 UTC (permalink / raw)
  To: gdb, References: <3BDD63C0.FA2CE158@oculustech.com>

I think I've found a reasonable solution.

Some things are easy enough to modify (cflags, mathlib), but I ended up having to write my own {target}_compile function which swaps out the unwanted args, replacing them if possible.  I pretty much had to do a rewrite of the default_target_compile function in dejagnu/lib/target.exp since the compiler I'm using has a really heinous command-line configuration that hearkens back to the DOS days.

T.


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

end of thread, other threads:[~2001-10-29 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-29  6:13 Using a compiler for testsuite that's not GCC? Timothy Wall
2001-10-29  8:21 ` Andrew Cagney
2001-10-29  9:05   ` Timothy Wall
2001-10-29  9:15   ` Timothy Wall
2001-10-29  9:44 ` Stan Shebs
2001-10-29 10:04   ` Timothy Wall
2001-10-29 20:04 Timothy Wall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox