> 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.in would deal with building them, on Solaris I'd have to juggle > around the CUSTOM_CRTIN setting so it's only used on Solaris/x86. > > Eric, am I missing something about the sparc/sol2-c[in].S files?
There is the same problem on i386, see: http://gcc.gnu.org/ml/gcc-patches/2011-05/msg02334.html Where did config/t-crtin go? Alternatively, why not just add the missing rules to config/t-rtems? -- Eric Botcazou