This is the mail archive of the binutils@sources.redhat.com 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]

Re: Why run the windres test on Linux?


On Tue, Jul 24, 2001 at 02:05:36PM -0400, DJ Delorie wrote:
> 
> > I am not building a cross binutils. It is a native binutils. I don't
> > think the cross rules apply here. The main reason for
> > --enable-targets=all is the sanity check. I don't think I should be
> > required to install the w32api headers to run "make check".
> 
> If --enable-targets=all enables a windres build, then windres should
> get tested.
> 
> You could just ignore the windres errors if you don't care about them.

Can you mark them xfail on Linux?

> 
> > Why not include the files needed in your windres test?
> 
> You can't include the MS headers because of copyright, and it's bad to
> include the w32api headers because they change over time (and we'd
> need to replicate a lot of files).
> 
> The best I could do is manually replace (or preprocess) the .rc files
> so that headers aren't needed, but that may hide other errors (and
> prevent testing the preprocessor wrt windres).

I can live with any solutions as long as I can do

# ./configure --enable-targets=all
# make
# make check

on Linux without any unexpected failures.

Thanks.


H.J.


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