Re: cross compile & exceptions

2013-11-22 Thread Andrew Haley
On 11/22/2013 04:54 PM, BELBACHIR Selim wrote: >>> >>> So, to build libgcc I would need --without-header to compensate for my >>> small libc, and to build libstdc++ I would have to use --with-header in >>> order to provide stdio.h ... >>> >>> >>> Do you know a better way to solve that than buildi

RE: cross compile & exceptions

2013-11-22 Thread BELBACHIR Selim
>> >> So, to build libgcc I would need --without-header to compensate for my small >> libc, and to build libstdc++ I would have to use --with-header in order to >> provide stdio.h ... >> >> >> Do you know a better way to solve that than building gcc, libgcc & libstdc++ >> independently ? > W

Re: cross compile & exceptions

2013-11-22 Thread Andrew Haley
On 11/22/2013 04:43 PM, BELBACHIR Selim wrote: > > So, to build libgcc I would need --without-header to compensate for my small > libc, and to build libstdc++ I would have to use --with-header in order to > provide stdio.h ... > > > Do you know a better way to solve that than building gcc, li

Re: cross compile & exceptions

2013-11-22 Thread Ian Lance Taylor
On Fri, Nov 22, 2013 at 8:43 AM, BELBACHIR Selim wrote: > I did this in order to build gcc, libgcc and libstdc++ independently. OK, fair enough. Sorry, I don't know what is happening with your original bug report. Ian

RE: cross compile & exceptions

2013-11-22 Thread BELBACHIR Selim
I did this in order to build gcc, libgcc and libstdc++ independently. when I do the simple integrated build process (following http://gcc.gnu.org/install) : cd $(GCC_OBJDIR); CFLAGS="-g -O0" $(GCC_SRCDIR)/configure -quiet --prefix=$(INSTALLDIR) --target=$(TARGET)

Re: cross compile & exceptions

2013-11-20 Thread Ian Lance Taylor
On Wed, Nov 20, 2013 at 8:23 AM, BELBACHIR Selim wrote: > > make -C $(GCC_OBJDIR) all-gcc > > make -C $(GCC_OBJDIR) install-gcc Don't do this. Follow the installation instructions at http://gcc.gnu.org/install . Ian

cross compile & exceptions

2013-11-20 Thread BELBACHIR Selim
Hi, I'm trying to migrate from gcc4.5.2 to gcc4.7.3. Here are a part of my makefile to build gcc (same config used with gcc4.5.2 and gcc4.7.3) : cd $(GCC_OBJDIR); CFLAGS="-g -O0" $(GCC_SRCDIR)/configure -quiet --prefix=$(INSTALLDIR) --target=$(TARGET) --enab