From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynex-ms.nynexst.com (H.J. Lu) To: neal@ctd.comsat.com (Neal Becker) Cc: eric@aib.com (Eric Youngdale), ian@cygnus.com (Ian Lance Taylor), raeburn@cygnus.com (Ken Raeburn), gas2@cygnus.com Subject: Re: Bad crt files Date: Tue, 11 Oct 1994 23:11:00 -0000 Message-id: <9410120341.AA13720@titanic.nynexst.com> References: X-SW-Source: 1994/msg00129.html > > Better. But change the Makefile to use add -g to each compile and > link step, then it segfaults again. Can I use -g at the link step with the shared library since libg.a is not a shared library? Can a shared library be loaded in without libc.so? Maybe there is a bug the GNU ld that couldn't handle mixing a shared library with a static C library right. Or is that a dynamic linker bug? BTW, Ian, how compatible is the GNU ELF ld with SVR4/x86 ld? Can it be a dropin replacement? Has anyone tried to use the GNU ELF ld to build a shared ELF library under SVR4/x86? > > This simple example built fine with or without -g with the previous > tool releases. > -- H.J. Lu NYNEX Science and Technology, Inc. hjl@nynexst.com