On Wed, Nov 14, 2012 at 07:11:23AM -0800, Paige Thompson wrote:
> aha, 
> 
> once again, 
> 
> dev@dev-VirtualBox /mnt/erraticOS/usr/src/gcc-build $ gcc --version
> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
> 
> dev@dev-VirtualBox /mnt/erraticOS/usr/src/gcc-build $ apt-get 
> 
> I knew I figured this out once before, and the reason I knew is because I 
> removed the -fbuilding-libgcc (just now and before) from the makefile and 
> came to this problem) 
> 
> cc1plus: error: unrecognized command line option ‘-std=gnu++11’
> 
> which has to do with the fact that cc1plus 4.6 doesn't have support for that 
> ;) odd that they didn't include the build process for compiling 4.7 from 4.6 
> huh? 
> 
 Ah ha!  You are using the host's compiler in pass 2.  Wrong path,
failed to correctly specify a variable, omitting +h, or something
else.

 The first pass of gcc builds a pseudo cross-compiler, hence the LFS
setting : just enough of a name change to fool the build system into
using the cross-compile routines (for separation from the host).
This compiler only supports 'C'.

 The second pass uses the 'cross' compiler to build a native C and
C++ compiler.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
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