I've wrote a sample Foundation "tools" to test threads communications :
this tools work on OS/X (don't segfault).
it segfault under a Linux machine :
- Kernel 2.6.8-1-686-smp (Debian 3.1) : it's really an SMP machine (2x
PIII 800).
- gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-5)
gnustep-base (Foundation) is the last debian package : 1.10.1-2
-
My original dev platform is an OS/X 10.3.7 with Apple Developper tools :
gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)
I join a gz of the GNUstep project I've made : I've modify no source
code to build this sample : just add a GNUmakefile...