Re: Building Secondary Languages After Newlib is Installed

2011-02-08 Thread Hans-Peter Nilsson
On Fri, 28 Jan 2011, Joel Sherrill wrote: This almost works but libstdc++-v3/configure.ac explicitly checks $with_newlib to trip some AC_DEFINE's which have to be tripped to build. I have a patch attached that logically says if on target X, then you are always using newlib so if you have

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ralf Corsepius
On 01/28/2011 07:49 AM, Ian Lance Taylor wrote: Ralf Corsepiusralf.corsep...@rtems.org writes: On 01/27/2011 07:15 PM, Joel Sherrill wrote: What is the preferred combination of --enable-newlib and --with-newlib settings to build with newlib in the gcc source tree but not build it and use

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Andreas Schwab
Ralf Corsepius ralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different.

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ralf Corsepius
On 01/28/2011 10:15 AM, Andreas Schwab wrote: Ralf Corsepiusralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. Good point, agreed. In case of Joel and rtems the situation probably can be furtherly simplified: RTEMS has

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Joel Sherrill
On 01/28/2011 04:58 AM, Ralf Corsepius wrote: On 01/28/2011 10:15 AM, Andreas Schwab wrote: Ralf Corsepiusralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. Good point, agreed. In case of Joel and rtems the situation probably

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ian Lance Taylor
Andreas Schwab sch...@redhat.com writes: Ralf Corsepius ralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. But that seems strange to me as some of the configure scripts test for --with-newlib and adjust their configury

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ralf Corsepius
On 01/28/2011 04:17 PM, Ian Lance Taylor wrote: Andreas Schwabsch...@redhat.com writes: Ralf Corsepiusralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. But that seems strange to me as some of the configure scripts test for

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Joel Sherrill
On 01/28/2011 09:17 AM, Ian Lance Taylor wrote: Andreas Schwabsch...@redhat.com writes: Ralf Corsepiusralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. But that seems strange to me as some of the configure scripts test for

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ralf Corsepius
On 01/28/2011 05:48 PM, Joel Sherrill wrote: On 01/28/2011 09:17 AM, Ian Lance Taylor wrote: Andreas Schwabsch...@redhat.com writes: Ralf Corsepiusralf.corsep...@rtems.org writes: - Remove newlib from the source tree --without-newlib should probably be enough. But that seems strange to

Building Secondary Languages After Newlib is Installed

2011-01-27 Thread Joel Sherrill
Hi, There are now 14 RTEMS targets which I try to test regularly on the head. Where possible, I try to test C, C++, Ada, and Go. The procedure is roughly + build and install C, C++ with newlib multilibed + build and install RTEMS + build and install C, Adawith newlib multilibed + build and

Re: Building Secondary Languages After Newlib is Installed

2011-01-27 Thread Ralf Corsepius
On 01/27/2011 07:15 PM, Joel Sherrill wrote: Hi, There are now 14 RTEMS targets which I try to test regularly on the head. Where possible, I try to test C, C++, Ada, and Go. The procedure is roughly + build and install C, C++ with newlib multilibed + build and install RTEMS + build and install

Re: Building Secondary Languages After Newlib is Installed

2011-01-27 Thread Ian Lance Taylor
Ralf Corsepius ralf.corsep...@rtems.org writes: On 01/27/2011 07:15 PM, Joel Sherrill wrote: What is the preferred combination of --enable-newlib and --with-newlib settings to build with newlib in the gcc source tree but not build it and use the installed copy for the Ada and Go builds?