Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread Pierre Labastie
On Tue, 2021-01-12 at 20:37 +0100, coolnodje wrote: > GCC compilation went well after fixing PATH from .bashrc > > > But oddly the problem when using `su - lfs` comes from .bash_profile, > containing > exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash as defined > in the book. > > Using

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread Bruce Dubbs
On 1/12/21 1:37 PM, coolnodje wrote: GCC compilation went well after fixing PATH from .bashrc But oddly the problem when using `su - lfs` comes from .bash_profile, containing |exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash| as defined in the book. Using `su lfs` then cd home and

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread coolnodje
GCC compilation went well after fixing PATH from .bashrc But oddly the problem when using `su - lfs` comes from .bash_profile, containing exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash as defined in the book. Using `su lfs` then cd home an