[lfs-support] LFS8.1 chapter 5.10 : /tools/bin/gcc is dynamically linked to host linker
bruce.dubbs at gmail.com
Mon Jul 2 11:39:23 PDT 2018
On 07/02/2018 04:25 AM, Richard Melville wrote:
> On 1 July 2018 at 23:35, Bruce Dubbs <bruce.dubbs at gmail.com
> <mailto:bruce.dubbs at gmail.com>> wrote:
> On 07/01/2018 02:53 PM, Pierre Labastie wrote:
> It shows up for me too, even after doing "source .bash_profile".
> I think
> debian sets this in /etc/bash.bashrc, which is executed at
> startup, according
> to "man bash".
> There is no mention of /etc/bash.bashrc in the bash man pages, only
> From the bash man pages:-
> " When an interactive shell that is not a login shell is started, bash
> reads and executes commands from /etc/bash.bashrc and
> ~/.bashrc, if
> these files exist. This may be inhibited by using the --norc
> The --rcfile file option will force bash to read and execute
> from file instead of /etc/bash.bashrc and ~/.bashrc."
And to comment further:
"5. What is /etc/bash.bashrc? It doesn't seem to be documented.
The Debian version of bash is compiled with a special option
(-DSYS_BASHRC) that makes bash read /etc/bash.bashrc before ~/.bashrc
for interactive non-login shells. So, on Debian systems,
/etc/bash.bashrc is to ~/.bashrc as /etc/profile is to
More information about the lfs-support