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: bfd and cygpath


On Tue, Apr 23, 2013 at 4:02 AM, NightStrike <nightstrike@gmail.com> wrote:
> Building bfd in a particular cross compiler scenario requires that
> cygpath be set to "echo".  bfd configury has the tools to do this, but
> it's broken.  Configure properly does this:
>
> # test whether we have cygpath
> if test -z "$CYGPATH_W"; then
>   if (cygpath --version) >/dev/null 2>/dev/null; then
>     CYGPATH_W='cygpath -w'
>   else
>     CYGPATH_W=echo
>   fi
> fi
>
> But then fails to actually use that variable where it counts:
>
>       fix_srcfile_path='`cygpath -w "$srcfile"`'
>
> and the subsequent build fails because of this.
>
> I see this in the resultant configure, but I don't see how it is
> getting into the bfd configure.  There is a similar gcc bug here:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56412
>
> If it comes from libtool upstream, can somebody from binutils update
> the libtool stuff?

Looks like it went in here:

http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/configure?rev=1.262&content-type=text/x-cvsweb-markup&cvsroot=src

Directly from updating libtool.

I can't find it in upstream libtool, though, so can somebody update
libtool again?


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