[lfs-support] Step 5.4.1 Installation of Cross Binutils errors

Pierre Labastie pierre.labastie at neuf.fr
Wed Nov 13 00:41:33 PST 2013


Le 13/11/2013 02:53, Ken Moffat a écrit :
> On Tue, Nov 12, 2013 at 07:57:30PM -0500, Baho Utot wrote:
>> If you are using bash 4.0 or greater
>>
>> ../path/to/binutils-source/./configure ... | tee myconflog 2>&1
>>
>> becomes
>>
>> ../path/to/binutils-source/./configure ... |& tee myconflog
>>
>   I would change 'becomes' to 'can be changed to' - there is no
> *requirement* to change a following '2>&1' to a preceding '&'.
>
>
but 2>&1 should be before the `|' anyway : it does not work the same as `>'.

If you type the command as above, it sends the "tee" errors to stdout, 
not the "configure" errors...

Regards
Pierre




More information about the lfs-support mailing list