shared libgcc build support

Richard Henderson
Fri Oct 6 13:57:00 GMT 2000

On Fri, Oct 06, 2000 at 04:48:40PM -0400, David Edelsohn wrote:
> # Build a shared libgcc library.
> SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
>         -Wl,-bexpall
> SHLIB_LIBS = -lc `case @shlib_base_name@ in *pthread*) echo -lpthread ;; esac`

Oh, cool.  I'd gotten the impression that you needed multiple
commands to build the library.

> 	I think that maybe I should use the flat symbol list that you
> created to generate an explicit IBM shared library export list instead of
> exporting all symbols.


I'll add the SHLIB_EXT hook this afternoon.


More information about the Gcc-patches mailing list