On 10/20/06, Ed Gould <Ed.Gould at sun.com> wrote: > > > I am tinkering with powerpc-*-solaris2* gcc configuration. > > We (Polaris project) have a simple gcc that builds basic > > PowerPC ELF binaries, but I am trying to make it more like > > SPARC or i386 configuration. There GCC appears to expect > > crt?.o files present in /usr/lib and PowerPC tree (obviously) > > lacks them. > > And you're trying to make gcc compatible with the standard Solaris C > startup? (That would be nice, if it's possible.) Is there a
Yes. > corresponding set of crt*.o files for sparc-*-solaris2 or > opteron-*-solaris2 with gcc, or does gcc use the Solaris ones? I had gcc expect them to be in standard ld search path and does not provide its own. > thought that gcc used its own startup linkage, but my knowledge there > is quite rusty. In fact it uses both. gcc comes with crtbegin.o and crtend.o and still wants to link it with crt[1in].o and the above. -- Regards, Cyril