This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: shared library patch for SCO OpenServer 5.0.5 & egcs


Hi

>> >  > Should we just modify the OpenServer build environment to build
>> >  > sol2-ci.asm and install it as crti.o in our libdir?
>> >
>> > That would make sense.  You will want crtn.o as well.


Fix me if I am wrong. The planned change is the following:

- Modify configure or makefile in egcs to build crti.o from i386/sol2-ci.asm
or using a sco5 specific copy. As sco5 support multilib crti.o must be
included only for ELF environment.

- Modify configure or makefile to install crti.o patch in egcs specific
libdir.

- Modify sco5.h to add support in SPECS macro to change startfile to
  %{!mcoff: %{shared: crti.o%s}} plus rest

Thanks

Arturo




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]