Re: libgcc sparc-rtems config on gcc head

2011-11-04 Thread Rainer Orth
Joel, >> That's what my patch does. It would be good if Joel could test on >> i386-rtems before comitting (as I will on Solaris/SPARC and x86, of >> course). >> > i386-rtems builds fine after moving the files. > > From my perspective, you can commit. Thanks for the confirmation. I've run i386-p

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Joel Sherrill
On 11/03/2011 09:44 AM, Rainer Orth wrote: Eric Botcazou writes: The same solution seems to apply here: just rename the files to crt[in].S and use the generic rules. They don't seem Solaris-specific either. The renaming for SPARC is OK if it is done for i386 as well, but this doesn't really

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Rainer Orth
Eric Botcazou writes: >> The same solution seems to apply here: just rename the files to >> crt[in].S and use the generic rules. They don't seem Solaris-specific >> either. > > The renaming for SPARC is OK if it is done for i386 as well, but this doesn't > really seem to be necessary, see below

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Eric Botcazou
> The same solution seems to apply here: just rename the files to > crt[in].S and use the generic rules. They don't seem Solaris-specific > either. The renaming for SPARC is OK if it is done for i386 as well, but this doesn't really seem to be necessary, see below. > The rules are generic and h

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Joel Sherrill
On 11/03/2011 09:29 AM, Rainer Orth wrote: Hi Joel, No, I'd like to avoid non-Solaris targets using Solaris config fragments if at all possible. AFAICS there's nothing Solaris-specific in config/sparc/sol2-c[in].S. If so, the simplest solution would be to rename the files to crt[in].S. On RT

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Rainer Orth
Hi Joel, >> No, I'd like to avoid non-Solaris targets using Solaris config fragments >> if at all possible. AFAICS there's nothing Solaris-specific in >> config/sparc/sol2-c[in].S. If so, the simplest solution would be to >> rename the files to crt[in].S. On RTEMS, the generic crt[in].o rules i

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Rainer Orth
Eric Botcazou writes: >> No, I'd like to avoid non-Solaris targets using Solaris config fragments >> if at all possible. AFAICS there's nothing Solaris-specific in >> config/sparc/sol2-c[in].S. If so, the simplest solution would be to >> rename the files to crt[in].S. On RTEMS, the generic crt

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Eric Botcazou
> No, I'd like to avoid non-Solaris targets using Solaris config fragments > if at all possible. AFAICS there's nothing Solaris-specific in > config/sparc/sol2-c[in].S. If so, the simplest solution would be to > rename the files to crt[in].S. On RTEMS, the generic crt[in].o rules in > Makefile.i

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Joel Sherrill
On 11/03/2011 08:06 AM, Rainer Orth wrote: Hi Joel, The sparc libgcc configure magic looks very different on the head versus 4.6. sparc-rtems4.11 was not building because it was missing crti. In 4.6, we got the makefile stub from sparc/t-crtin but that no longer exists. It looks like the rul

Re: libgcc sparc-rtems config on gcc head

2011-11-03 Thread Rainer Orth
Hi Joel, > The sparc libgcc configure magic looks very > different on the head versus 4.6. sparc-rtems4.11 > was not building because it was missing crti. > > In 4.6, we got the makefile stub from sparc/t-crtin > but that no longer exists. It looks like the > rules are on t-sol2 now. > > I made

libgcc sparc-rtems config on gcc head

2011-11-02 Thread Joel Sherrill
Hi, The sparc libgcc configure magic looks very different on the head versus 4.6. sparc-rtems4.11 was not building because it was missing crti. In 4.6, we got the makefile stub from sparc/t-crtin but that no longer exists. It looks like the rules are on t-sol2 now. I made this change to libgc