On Mon, 14 Nov 2011, Dirk Moermans wrote:
I am trying to build the gcc svn-trunk, in order to play with the
latest C++0x-features.
Since upgrading from Ubuntu 11.04, I have trouble building gcc.
The configure command below used to work:
configure --prefix=/home/dirk/local --enable-languages=c,c++,lto
With the new release I get an error-message:
/usr/bin/ld: cannot find crti.o: No such file or directory
This is caused by the new multiarch system-layout within Ubuntu/Debian.
Can anyone send me the correct ./configure or environment variables to
build the gcc-trunk on a stock Ubuntu 11.10?
export LIBRARY_PATH=/usr/lib/your_machines_triplet
or you can reuse the patches from the gcc-snapshot package (or even just
use that package so you don't need to compile).
--
Marc Glisse