﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Micro Mart Forum / Linux Mart / Micro Mart Forums  / LinuxFromScratch problem / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Micro Mart Forum</description><link>http://forum.micromart.co.uk/</link><webMaster>forums@micromart.co.uk</webMaster><lastBuildDate>Sat, 10 Jan 2009 00:43:07 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>just shows how useful tools like grep and sed are.</description><pubDate>Fri, 15 Aug 2008 22:37:21 GMT</pubDate><dc:creator>wyliecoyoteuk</dc:creator></item><item><title>RE: LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>V-600&lt;br&gt;&lt;br&gt;RESPECT!</description><pubDate>Fri, 15 Aug 2008 22:35:51 GMT</pubDate><dc:creator>malc_wright</dc:creator></item><item><title>RE: LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>Thanks. I am treating this as a learning exercise and have been slowly working out what some of the commands do. I think it would have correctly replaced the lines if it could've either found the file, or saved it. It turns out I had made a small mistake with the permissions on a directory earlier on in the process, then just su'd to root, to get round it, which stopped a few other files saving properly and it all ground to a halt.</description><pubDate>Thu, 14 Aug 2008 22:50:58 GMT</pubDate><dc:creator>V-600</dc:creator></item><item><title>RE: LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>well the sed pipe was just a global replace to change the pathname from the specs file&lt;br&gt;dunno if that helps.</description><pubDate>Thu, 14 Aug 2008 21:59:48 GMT</pubDate><dc:creator>wyliecoyoteuk</dc:creator></item><item><title>RE: LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>After checking the LFS mailing lists and after looking back at what I'd done so far, I realised I had made a little mistake early on. As I don't know enough about linux to fix what i'd done, and as I hadn't got that far in any case I figured it was easier to start again.&lt;br&gt;&lt;br&gt;I'll keep in mind some advice from the LFS website. FB,BG - Follow Book, Book Good :)</description><pubDate>Thu, 14 Aug 2008 12:41:18 GMT</pubDate><dc:creator>V-600</dc:creator></item><item><title>LinuxFromScratch problem</title><link>http://forum.micromart.co.uk/Topic304171-22-1.aspx</link><description>After seeing a few calls for a linux from scratch article it piqued my interest, so thought i'd have a go myself.&lt;br&gt;&lt;br&gt;I'm at chapter 5.7 [url]http://www.linuxfromscratch.org/lfs/view/stable/chapter05/adjusting.html[/url] and seem to have encountered a problem.&lt;br&gt;&lt;br&gt;when running the command "mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}" I got the error &lt;br&gt;"mv: cannot stat `/tools/i586-mandriva-linux-gnu/bin/ld': No such file or directory"&lt;br&gt;&lt;br&gt;I am using TinyME (a mandriva based distro) and decided to change the instruction to read &lt;br&gt;&lt;br&gt;"mv -v /tools/i686-pc-linux-gnu/bin/{ld,ld-old}" which produced the result&lt;br&gt;&lt;br&gt;"/tools/i686-pc-linux-gnu/bin/ld' -&gt; `/tools/i686-pc-linux-gnu/bin/ld-old"&lt;br&gt;&lt;br&gt;Hopefully this is the end result intended. However the next command also fails to work and I am less sure how to change it.&lt;br&gt;&lt;br&gt;"gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' \&lt;br&gt;&gt;   &gt; `dirname $(gcc -print-libgcc-file-name)`/specs"&lt;br&gt;&lt;br&gt;When I ran "gcc -dumpspecs &gt;specs" then "cat specs" to check whether the changes had been effective, the dynamic linker at the end still reads "/lib/ld-linux.so.2"&lt;br&gt;&lt;br&gt;Any ideas how to change get this command to work, or preferably to let me know what to change so the original command will work.&lt;br&gt;&lt;br&gt;Many thanks</description><pubDate>Thu, 14 Aug 2008 09:00:48 GMT</pubDate><dc:creator>V-600</dc:creator></item></channel></rss>