This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gcc on Ubuntu 11.10


On 02/15/2012 03:24 PM, Martin Jambor wrote:
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

I did a bootstrap - using Martin's suggestion, see the attached script - on a Debian Testing system (x86_64) updated Saturday the 4th of February, without problems.


See: http://gcc.gnu.org/ml/gcc-testresults/2012-02/msg01453.html

--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news

Attachment: BootstrapGCC
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]