Yes, that’s correct. It has been moved before the libiberty library in the list now. Bootstrapped the system with the changes as well.
PFA the updated patch -- Thanks, Ayush Goel On 8 July 2016 at 2:29:04 AM, Manuel López-Ibáñez (lopeziba...@gmail.com) wrote: > On 7 July 2016 at 13:48, ayush goel wrote: > > In order to show the setup works, I’ve replaced libiberty’s version by > > obstack by gnulib’s. > This was made possible by replacing the corresponding header file and then > including > gnulib headers and gnulib static library in the build path required to > compile gcc files. > > Hi Ayush, > > I'm not an expert on the build machinery, so this question might be > misguided: How do you know it is using the version in gnulib rather > than the one in libiberty? I see it uses gnulib's header file but: > > # Dependencies on the intl and portability libraries. > LIBDEPS= libcommon.a $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) \ > - $(LIBDECNUMBER) $(LIBBACKTRACE) > + $(LIBDECNUMBER) $(LIBBACKTRACE) $(LIBGNU) > > makes me think that the code in libiberty is found before the one in libgnu. > > Cheers, > > Manuel. >
importgnulib_7_7
Description: Binary data