This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR ld/3351 tests vs incomplete C compiler environment


On Tue, Jul 3, 2012 at 9:42 AM, Roland McGrath <mcgrathr@google.com> wrote:
> The new tests you added make the ld testsuite depend on being able to
> compile and link C programs.  Heretofore I've been happily running the
> testsuite in my situation where there is a partly-working C compiler for
> the target, but not enough of an environment for it to link successfully
> (missing libraries and such).
>
> Is it possible to reformulate these tests so that they rely only on the
> tools in binutils itself, as is the case with most of the tests?
>
> If using the C compiler is really necessary, then that is not so bad by
> itself.  But trying to use the compiler driver to link, and thus relying on
> target libraries being present (and complete) is a big burden.
>

indirect.exp has 2 parts: link-time tests and run-time tests.
run-time tests use the outputs from link-time tests.  That is
why C compiler is used on link-time tests.

-- 
H.J.


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