I was wondering if i got the syntax right..
<search_replace base="&build_dir;/&gcc-directory;">
<file>gcc/Makefile.in</file>
<find>\(^CROSS_SYSTEM_HEADER_DIR =\).*</find>
<replace>\1 /tools/[EMAIL PROTECTED]</replace>
</search_replace>
book syntax was
sed -e '[EMAIL PROTECTED](^CROSS_SYSTEM_HEADER_DIR =\)[EMAIL PROTECTED]
/tools/[EMAIL PROTECTED]' \
-i gcc/Makefile.in
Im also wondering how does one make up for the echo command in dtd
echo "
#undef STARTFILE_PREFIX_SPEC
#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/linux.h
Ive been snooping around the dtd doc and havent yet figured out what would be
most apropriate for it.
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page