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: [RFC] Switching implementation language to C++


On 06/01/2010 08:02 PM, Diego Novillo wrote:

On Tue, Jun 1, 2010 at 14:00, Toon Moene<toon@moene.org> wrote:

On 06/01/2010 06:07 PM, Richard Guenther wrote:

After fixing build locally I now have

Are you planning to commit the fixes - I don't mind being a guinea pig in this - I have been recompiling gcc/gfortran and rebuilding our weather forecasting code now for a few weeks (almost) daily.


These changes are already in.

Well, that was a quicky (revision 160116):


In file included from ../../gcc/libcpp/system.h:341,
from ../../gcc/libcpp/expr.c:21:
../../gcc/libcpp/../include/libiberty.h:106: error: new declaration âchar* basename(const char*)â
/usr/include/string.h:601: error: ambiguates old declaration âconst char* basename(const char*)â


This is my build command:

cd ~/compilers/gcc && svn up && echo "`date -u` (revision `svnversion .`)" >> LAST_UPDATED && cd ../obj-t && rm -rf * && ../gcc/configure --enable-checking=release --prefix=/usr/snp --enable-gold --enable-plugins --disable-multilib --disable-nls --with-arch-64=native --with-tune-64=native --enable-languages=fortran,c++ --enable-build-with-cxx --disable-werror && make -j8

(--disable-werror is necessary because you can't build a recent snapshot of binutils/gold without it).

Cheers,

--
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/gcc-4.5/changes.html#Fortran


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