This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Preliminary patch attached. Take a look at acinclude.m4, besides the documentation updates, I'm wondering what to do about setting GLIBCXX_LIBS after running the AC_SEARCH_LIBS. Also, I'm not sure libstdcxx-librt is the right name since these facilities can also be in posix4. You'll notice I was trying to do something like: +# if test x"$ac_cv_search_clock_gettime" = x"-lposix4" +# || test x"$ac_cv_search_nanosleep" = x"-lposix4" +# || test x"$ac_cv_search_sched_yield" = x"-lposix4"; then +# GLIBCXX_LIBS="-lposix4" +# fi which doesn't work (i really hate this syntax, whatever excuse for a language this is ;) ) and similar for -lrt where there was a single case statement before: case "$ac_cv_search_clock_gettime" in -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime esac basically, I just want the union of "-l*"'s that come out of those search lib tests (and presumably a platform could need both rt and posix4 no?). Chris
Attachment:
libstdcxx_librt.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |