This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Error when building: --program-transform-name=s&^&arm-linux-gnueabi-&
- From: Ian Lance Taylor <iant at google dot com>
- To: Hector Oron <hector dot oron at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 02 Mar 2010 07:43:09 -0800
- Subject: Re: Error when building: --program-transform-name=s&^&arm-linux-gnueabi-&
- References: <dd0a3d701003020431h2d1a5f4bs93739d0ec2fee55@mail.gmail.com>
Hector Oron <hector.oron@gmail.com> writes:
> In the configure.ac I see...
>
> # Add in --program-transform-name, after --program-prefix and
> # --program-suffix have been applied to it. Autoconf has already
> # doubled dollar signs and backslashes in program_transform_name; we want
> # the backslashes un-doubled, and then the entire thing wrapped in single
> # quotes, because this will be expanded first by make and then by the shell.
> # Also, because we want to override the logic in subdir configure scripts to
> # choose program_transform_name, replace any s,x,x, with s,y,y,.
> sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED
>> conftestsed.out
> ${program_transform_name}
> EOF_SED
> gcc_transform_name=`cat conftestsed.out`
> rm -f conftestsed.out
> baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
> if test "$silent" = yes; then
> baseargs="$baseargs --silent"
> fi
> baseargs="$baseargs --disable-option-checking"
>
>
> I think my system is failing on this logic. Do you have a fix I might try?
In what way does the system fail?
(We can't provide any advice if you don't tell us what is wrong.)
Ian