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 05:48 PM, Joel Sherrill wrote: On 01/28/2011 09:17 AM, Ian Lance Taylor wrote: Andreas Schwab writes: Ralf Corsepius 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 f

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 Schwab writes: Ralf Corsepius 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 ac

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 Schwab writes: Ralf Corsepius 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 ac

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Ian Lance Taylor
Andreas Schwab writes: > Ralf Corsepius 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 accordingly. This would put them in a positi

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 Corsepius 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 simplif

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 Corsepius 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 gcc-4.5.5-compiled newlib-rp

Re: Building Secondary Languages After Newlib is Installed

2011-01-28 Thread Andreas Schwab
Ralf Corsepius 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 07:49 AM, Ian Lance Taylor wrote: Ralf Corsepius 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

Re: Building Secondary Languages After Newlib is Installed

2011-01-27 Thread Ian Lance Taylor
Ralf Corsepius 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? > > Theoretical

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