This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc on Ubuntu 11.10
Hi,
On Thu, Feb 09, 2012 at 08:26:06PM +0100, Toon Moene wrote:
> On 02/09/2012 07:16 PM, Arnaud Charlet wrote:
>
> >>>Yes. Debian moved everything for some reason. It's a problem that must
> >>>be addressed somehow before gcc 4.7 is released.
> >>>
> >>>It's extremely unfortunate that this will make it impossible to build
> >>>older releases of gcc on newer Debian installations.
> >
> >Note that there's a simple work around:
> >export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
> >
> >So this shouldn't block GCC 4.7.
>
> I tried that, and it is not enough (it was for a while after August, 2011).
>
With the following three lines in my .bashrc, I can build trunk on
Debian unstable just fine (both updated this Monday). OTOH, I don't
do bootstraps on this machine if that is the problem.
export LIBRARY_PATH=/usr/lib/i386-linux-gnu/
export C_INCLUDE_PATH=/usr/include/i386-linux-gnu
export CPLUS_INCLUDE_PATH=/usr/include/i386-linux-gnu
Martin