This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Not in 2.21 sources... [OBV/RFA] Fix compilation of ld/emultempl/spuelf.em on systems where HAVE_MKSTEMP is not defined
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Tristan Gingold'" <gingold at adacore dot com>
- Cc: "'Richard Sandiford'" <richard dot sandiford at linaro dot org>, <binutils at sourceware dot org>
- Date: Thu, 9 Dec 2010 13:25:43 +0100
- Subject: RE: Not in 2.21 sources... [OBV/RFA] Fix compilation of ld/emultempl/spuelf.em on systems where HAVE_MKSTEMP is not defined
- References: <48683.3413750448$1288971470@news.gmane.org> <g48w17znxm.fsf@richards-desktop.stglab.manchester.uk.ibm.com> <001c01cb9791$bc506ab0$34f14010$@muller@ics-cnrs.unistra.fr> <ABA80073-29DB-4AEC-A459-7C6B8E2A5D7C@adacore.com>
> Can you find the commit message in the archive ? With it, I can take
> care of merging it.
>
> Tristan.
It's here:
http://sourceware.org/ml/binutils-cvs/2010-11/msg00041.html
I got one second problem for compilation of ld
for mingw with --enable-targets=all
also in emultempl/spuelf.em
about the type of execvp argument #2
(char *const *)
type is given line 399, but
mingw process.h header
gives
(const char *const *)
which results in a warning, turned into an error
because -Werror is the default.
I tried to look up what the correct type should be,
but didn't find any real unambiguous definition of that
function.
Pierre Muller