shared libgcc build support

Richard Henderson rth@cygnus.com
Sun Oct 8 15:07:00 GMT 2000


On Sat, Oct 07, 2000 at 01:07:16AM -0400, David Edelsohn wrote:
> 	The patch does allow me to create AIX shared libraries, although
> the SHLIB_LINK line is pretty horrific:

Yeah, well, I didn't really expect anything simpler.

> SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
>         -Wl,-bexpall -o shr.o

You'll have trouble with parallel builds with this.  If I provide
you a substitution on @multilib_dir@ (which will not include the
slash), you can put each shr.o in its own directory to avoid this.

> 	Also, are you planning to provide the library interface version
> number as a substitution variable instead of a fixed value?

I do not provide any value whatsoever.  I'm leaving it up to
the different targets to know what format they'd like the 
interface version in.

I'm re-testing Solaris after the changes, and will commit
the patch this afternoon.


r~


More information about the Gcc-patches mailing list