Re: [lfs-support] Question about variables in the terminal

2017-06-24 Thread Hazel Russman
On Fri, 23 Jun 2017 14:33:35 -0400
"Isaac D. Cohen"  wrote:

> Hi,
> 
> Sorry if I'm bothering everyone too much lately. I just have a short
> question this time. I continued on in the book and it says to set
> the variables CC, AR, and RANLIB. So I'm wondering whether that is a
> one time thing (just for that compilation) or should I add them to my
> .bashrc file? I wonder because the book doesn't make it clear. It
> says to set those variables before compiling binutils pass 2 and then
> again before compiling gcc pass 2. So it sounds like they don't need
> to be permanent. But does the book mean that they should be
> permanent/set before each build? Or does it mean that they should
> only be set for binutils and gcc pass 2?
> 
> Thank you very much,
> Isaac D. Cohen
> 
They are set for these builds only. If you were expected to put them in your 
.bashrc file, you would have been told to do this in chapter 4.

The reason they are required here in the second pass is that you are no longer 
cross-compiling. Consequently the configuration script will expect build tools 
to have normal short names. Until you have completed pass 2, the only tools 
with such names are the ones on your host.

But you want to use the cross-compiled tools you have made in pass 1, and they 
have long names incorporating the architecture they were built for. So you must 
tell the script explicitly to use those tools.

-- 

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Question about variables in the terminal

2017-06-23 Thread Ken Moffat
On Fri, Jun 23, 2017 at 02:33:35PM -0400, Isaac D. Cohen wrote:
> Hi,
> 
> Sorry if I'm bothering everyone too much lately. I just have a short
> question this time. I continued on in the book and it says to set
> the variables CC, AR, and RANLIB. So I'm wondering whether that is a
> one time thing (just for that compilation) or should I add them to my
> .bashrc file? I wonder because the book doesn't make it clear. It
> says to set those variables before compiling binutils pass 2 and then
> again before compiling gcc pass 2. So it sounds like they don't need
> to be permanent. But does the book mean that they should be
> permanent/set before each build? Or does it mean that they should
> only be set for binutils and gcc pass 2?
> 
> Thank you very much,
> Isaac D. Cohen
> 

In those two builds, the three variables are passed to the configure
script.  The line continuations ('\') mean that this is all one long
command, so those variable settings are only in effect when
configure is run.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Question about variables in the terminal

2017-06-23 Thread Isaac D. Cohen
 On Fri, 23 Jun 2017 14:33:35 -0400 Isaac D. 
Cohen wrote  
Hi,

Sorry if I'm bothering everyone too much lately. I just have a short
question this time. I continued on in the book and it says to set
the variables CC, AR, and RANLIB. So I'm wondering whether that is a
one time thing (just for that compilation) or should I add them to my
.bashrc file? I wonder because the book doesn't make it clear. It
says to set those variables before compiling binutils pass 2 and then
again before compiling gcc pass 2. So it sounds like they don't need
to be permanent. But does the book mean that they should be
permanent/set before each build? Or does it mean that they should
only be set for binutils and gcc pass 2?

Thank you very much,
Isaac D. Cohen



I'm very sorry. Please disregard my question above.
I figured it out now.

Isaac



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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Question about variables in the terminal

2017-06-23 Thread Bruce Dubbs

Isaac D. Cohen wrote:

Hi,

Sorry if I'm bothering everyone too much lately. I just have a short
question this time. I continued on in the book and it says to set
the variables CC, AR, and RANLIB. So I'm wondering whether that is a
one time thing (just for that compilation) or should I add them to my
.bashrc file? I wonder because the book doesn't make it clear. It
says to set those variables before compiling binutils pass 2 and then
again before compiling gcc pass 2. So it sounds like they don't need
to be permanent. But does the book mean that they should be
permanent/set before each build? Or does it mean that they should
only be set for binutils and gcc pass 2?


Does the book say to set them permanently?  Don't read things into the 
instructions that are not there.


  -- Bruce

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Question about variables in the terminal

2017-06-23 Thread Isaac D. Cohen
Hi,

Sorry if I'm bothering everyone too much lately. I just have a short
question this time. I continued on in the book and it says to set
the variables CC, AR, and RANLIB. So I'm wondering whether that is a
one time thing (just for that compilation) or should I add them to my
.bashrc file? I wonder because the book doesn't make it clear. It
says to set those variables before compiling binutils pass 2 and then
again before compiling gcc pass 2. So it sounds like they don't need
to be permanent. But does the book mean that they should be
permanent/set before each build? Or does it mean that they should
only be set for binutils and gcc pass 2?

Thank you very much,
Isaac D. Cohen

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style