------- Comment #18 from howarth at nitro dot med dot uc dot edu  2009-09-23 
18:57 -------
Hmmm...

MULTIOSSUBDIR := $(shell if test $(MULTIOSDIR) != .; then echo /$(MULTIOSDIR);
fi)

in gcc-4.4.1/libgcc/Makefile.in survives into the generated Makefile intact. So
perhaps something like...


SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -dynamiclib -nodefaultlibs \
        -install_name @shlib_slibdir@/$(SHLIB_INSTALL_NAME) \
        -single_module -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp \
         $(shell if test @install_files@ = libgcc_ext.dylib ; then echo
"-Wl,-unexported_symbols_list," ; else echo "-Wl,-exported_symbols_list," fi) \
         $(shell if test @install_files@ = libgcc_ext.dylib ; then echo
darwin-libgcc.10.5.ver; else echo $(SHLIB_MAP) fi) \
        $(SHLIB_VERSTRING) \
        @multilib_flags@ $(SHLIB_OBJS) $(SHLIB_LC)

would work. FYI, I am just trying to reuse as much of the existing build
machinery as possible here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39888

Reply via email to