[lfs-support] SOLVED: lfs 7.4 section 5.9.1. Installation of Binutils error: Cannot run C compiled programs

Ron Hartikka hartikka at gmail.com
Wed Nov 13 07:23:19 PST 2013


Thanks.

OK. I'll look at akh's suggstion in my next session.

I already did a similar thing, actually.

I think this was in 5.9 binutils pass 2.

I set the environment variables - like 'export CC=$LFS_TGT-gcc' one at a
time.

Then I pasted the whole configure command into a file and bashed it.

Another thing that might have been important in getting me through 5.9:
logging out of lfs user and back in.

I did this (prior to my succesful retry of 5.9) because in section 5.10 the
instruction...

*Before starting to build GCC, remember to unset any environment variables
that override the default optimization flags.*

... and thought it might be a good thing.

It would be nice if you could say that each section is independent in the
sense that you could reboot and folllow a fixed setup procedure between
each section.

Is it true? What's the procedure?




On Wed, Nov 13, 2013 at 7:55 AM, akhiezer <lfs65 at cruziero.com> wrote:

> > Date: Wed, 13 Nov 2013 07:20:38 -0500
> > From: Ron Hartikka <hartikka at gmail.com>
> > To: LFS Support List <lfs-support at linuxfromscratch.org>
> > Subject: Re: [lfs-support] SOLVED: lfs 7.4 section 5.9.1. Installation of
> >  Binutils error: Cannot run C compiled programs
> >
> >
> >
> > Even supposing the HTML looks innocent, I'm wondering if there are other
> > ways for a multi-line selection to get corrupted.
> >
> > I experimented with the configure command in 7.4/5.9 Binutils.
> >
> > I was convinced that the method didn't work there in my situation.
> >
> > I'll repeat this later.
> >
>
>
> Try to see what you're actually pasting.
>
> What happens if you do:
> (1) highlight & copy the text using the same method - i.e. same mouse
> buttons,
>     same source of text (html/pdf/...), same environment
> (terminal/browser/...),
>     etc - as when it went wrong.
> (2) vi -i
> (3) do the paste using the same method - i.e. use same mouse button (I
> think you
>     said middle-click), etc - as when it had gone wrong.
> (4) save to a filename /tmp/tstpst or similar.
> (5) cat -A /tmp/tstpst  # or 'od -c /tmp/tstpst', or similar.
> (6) Post here the output from preceding step; delimit it above & below with
>     '----'  .
> (7) Does the output from step '(5)' look clean?
>
>
> rgds,
>
> akh
>
>
>
>
>
> --
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



-- 
Ron Hartikka
hartikka at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131113/75d862de/attachment.html>


More information about the lfs-support mailing list