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: windres testsuite failures on i686-pc-cygwin


Hi Rainer,

For me all windres tests fail:
gcc: error trying to exec 'cc1': execvp: No such file or directory
/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/binutils/binutils/.libs/windres:
preprocessing failed.

The windres program needs a C pre-processor in order to handle macros inside an rc file. By default it will try to execute "gcc -E -xc -DRC_INVOKED" as the pre-processor command. If this will not work on your system then you are going to need to add a --preprocessor=<...> command line switch to the invocations of windres. Since this is being invoked from inside the testsuite you will have to modify the binutils/testsuite/binutils-all/windres/windres.exp file directly in order to do this.


Ideally there ought to be an info variable defined in the board description file loaded by the testsuite which specifies any extra parameters that should be passed to windres. If you want to submit a patch that does this then I will be happy to review it ... :-)

Cheers
  Nick


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