error in lfs_profile

Thomas Beneke thomas.beneke at web.de
Tue Oct 5 08:25:54 PDT 2004


In chapter06/adjustingtoolchain.xml is a replacement for 
"*startfile_prefix_spec:" that don't work:

before sed:
-----------
<snip>
*md_startfile_prefix_1:


*startfile_prefix_spec:


*sysroot_suffix_spec:
<snip>

after sed:
----------
<snip>
*md_startfile_prefix_1:


*startfile_prefix_spec:
/usr/lib


*sysroot_suffix_spec:
<snip>

but it must be:
---------------
<snip>
*md_startfile_prefix_1:


*startfile_prefix_spec:
/usr/lib/

*sysroot_suffix_spec:
<snip>

the diff: one line and one "/"

A working sed-command could be:

sed -i -e '/*startfile_prefix_spec:/N; s@\n@&/usr/lib/@;' 
/tools/lib/gcc/i686-pc-linux-gnu/3.4.2/specs

but I don't now, how to implement this in ALFS.

Regards,
Thomas



More information about the alfs-discuss mailing list