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: Error when building: --program-transform-name=s&^&arm-linux-gnueabi-&


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


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