(bib) libobjc build failure
Stan Shebs
shebs@apple.com
Tue Dec 3 10:06:00 GMT 2002
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
More information about the Gcc
mailing list