Darcy,

That wasn't very helpful. I didn't want to write a script, but when I
loaded it by typing it in, I ended up with the same results.

Yes dummy.c did compile and run, but with no output.

In the book it advises one to "copy and paste" to avoid typing. But I
don't know how I copy the text and then paste it as a command. I assumed
the book meant to copy it into a script.

If I am wrong, how do I copy the text and then paste it as a command?

Regards,

john



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Darcy
Sent: Tuesday, May 27, 2008 5:50 PM
To: LFS Support List
Subject: Re: FW: Adjusting Toolchain

John Brookbank wrote:
>
> Can no-one help me with this problem?
>
> I can't believe that this time I am stopped so early in the game.
>
> Regards,
>
> john
>
>
------------------------------------------------------------------------
>
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *John 
> Brookbank
> *Sent:* Monday, May 19, 2008 5:48 PM
> *To:* [email protected]
> *Subject:* Adjusting Toolchain
>
> Dear Sir, or Madam,
>
> Over the years I have tried to install LFS, and have generally 
> completed the part 1 installation successfully, before I have to stop 
> for some reason. I live and work around the world.
>
> However, this time I have not been able to pass "Adjusting the 
> Toolchain" in Part 1. I have completed everything on that page, both 
> by typing the commands, and by using "copy and paste" method. That is,

> by "copy and paste" I have copied and formed a script file by putting 
> #!/bin/bash at the top of the file and running the script with -v so I

> know that it is running the commands. I don't know any other way to 
> "copy and paste" commands. Is there another way?
>
> When I have completed that and run the:
>
> echo 'main(){}' > dummy.c
>
> cc dummy.c
>
> Readelf -l a.out|grep ': /tools'
>
> I get no output at all. I have tried what is suggested in the book, 
> and that is not the problem. Can anyone tell me where to look for the 
> answer please.
>
> Regards,
>
> john
>
>
------------------------------------------------------------------------
>
> This e-mail, including any attached files, may contain confidential 
> and privileged information for the sole use of the intended recipient.

> Any review, use, distribution, or disclosure by others is strictly 
> prohibited. If you are not the intended recipient (or authorized to 
> receive information for the intended recipient), please contact the 
> sender by reply e-mail and delete all copies of this message.
>

Well, my response is as follows

1.) why have you forwarded this question to the list - it's already on 
the list.

2.) if you are not confident with what you are doing - why are you 
making a script that won't do error handling or trapping

3.) did the dummy.c actually compile or did you get any warnings or
errors.

I suggest not trying to run before walking by running home made scripts 
that are not adequate to deal with building an operating system.


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to