Re: Error during building stage 2 gcc-9.2.0: "configure: error: cannot compute sizeof (long long)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-01-05 12:19 +0000, Winston Smith wrote:
> > Winston Smith schrieb:
> > > Hi All,
> > > 
> > > 
> > > I've trying to build gcc-9.2.0 on a host with gcc-4.5.1, matching 
> > > versions of mpfr, gmp and mpc are symlinked into the top-level of the 
> > > tree.
> > > 
> > > 
> > > This is my configure:
> > > 
> > > 
> > > $ mkdir build
> > > 
> > > $ cd build
> > > 
> > > $ ../configure --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap
> > > --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls 
> > > --disable-shared --disable-multilib --disable-decimal-float 
> > > --disable-threads --disable-libatomic --disable-libgomp 
> > > --disable-libquadmath
> > >   --disable-libssp --disable-libvtv --disable-libstdcxx 
> > > --enable-languages=c,c++

With --disable-libstdcxx you can't bootstrap gcc, because stage 2 gcc has to
link to stage 1 libstdc++.
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux