This is the mail archive of the gcc@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] | |
Nicola Pero wrote:
Oh ho; what you're saying is that formerly thr-objc.o would have weak references to pthread_* and thus wouldn't need libpthread dragged in? That seems consistent with the content of gthr-posix.h. In that case adding #include "tm.h" to thr-objc.c should make the test suite happy ... yes, it does. Thanks for cluing me in; I've checked in the patch which follows. Are the other thr-*.c files in libobjc ever used anymore?Not in the libobjc shipped with GCC ... but if you want to build libobjc separate from GCC, which could be a headache :-), but it's quite possible if you rewrite the makefiles and add some manual config for your platform, they are very useful, as the provide the otherwise missing code for thread support.
I don't think it's practical to add a separate-build requirement to libobjc; if nothing else, the tm.h inclusion makes it even more closely tied to gcc/ than libstdc++ sources are now. It's also not very useful to compile with any compiler other than GCC. So let's just commit to making GCC's libobjc the only one that GNUStep would ever need. Stan
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |