[RFC] 2.22 release: Compilation failure for mingw32 target with --enable-targets=all
nick clifton
nickc@redhat.com
Tue Nov 29 12:43:00 GMT 2011
Hi Pedro, Hi Pierre, Hi Alan,
> The best is not to use execvp in host independent code at all, but to
> use libiberty's pex routines. Windows doesn't really support exec;
> I'm surprised execvp is actually declared in mingw32's headers. Or
> maybe you're building for msys, rather than mingw32?
>
> 2009-04-09 Thilo Fischer<thilo.fischer@uni-muenster.de>
>
> * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
> of fork/execvp.
>
> this same file has already been corrected once in another function,
> but for some reason, spu_elf_relink wasn't.
How about the attached patch ... any objections ?
Cheers
Nick
2011-11-29 Nick Clifton <nickc@redhat.com>
* emultempl/spuelf.em (spu_elf_relink): Use pex_one instead of
execvp.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spuelf.em.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20111129/bc3f4062/attachment.ksh>
More information about the Binutils
mailing list