This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Using a compiler for testsuite that's not GCC?
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: Using a compiler for testsuite that's not GCC?
- From: Timothy Wall <twall at oculustech dot com>
- Date: Mon, 29 Oct 2001 13:01:42 -0500
- Cc: gdb at sources dot redhat dot com
- Organization: Oculus Technologies
- References: <3BDD63C0.FA2CE158@oculustech.com> <3BDD94E8.C18170DF@apple.com>
- Reply-To: twall at oculustech dot com
Well, since my cross compiler uses just about none of the "standard" options, I think I'm going to have to hack away and integrate later...
T.
Stan Shebs wrote:
> Timothy Wall wrote:
> >
> > 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...
>
> Testsuite should be able to work with any compiler, athough in
> practice GCCisms sneak in from to time. Note however that there
> is an implicit expectation that the compiler accepts a basic list
> of options common to Unix compilers, such as -g, -o, etc. -l
> would be in that category, though not necessarily the list of
> libraries, and maybe -w, not sure about that.
>
> If you wanted to generalize the testsuite though, that would be
> a good thing.
>
> Stan