[Gc] GC 6.8 & PowerPC
hans.boehm at hp.com
Mon Dec 17 16:05:45 PST 2007
Finally getting a chance to look at this ...
I think the issue is just that you didn't specify --host correctly. It should presumable be a GNU platform string that also gives the OS, like powerpc-860-linux-gnu. Hence the configure script is not recognizing that you're on a Linux platform.
> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of jim marshall
> Sent: Friday, December 14, 2007 11:12 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] GC 6.8 & PowerPC
> We are still using GC 6.8, we are experimenting porting our
> application over to a PowerPC Linux based platform. The first
> task is to compile the GC, this is not going so well. I have
> built GCC 4.1.0 cross compiler for PowerPC 860 (using the
> Crosstools script). I then try to build the GC as
> [gc6.8]$ ./configure --prefix=/home/jmars/memory/ppc
> --enable-gc-assertions --enable-static=no
> --enable-threads=posix --host=ppc
> configure: WARNING: If you wanted to set the --build type,
> don't use --host.
> If a cross compiler is detected then cross compile mode
> will be used.
> checking build system type... i686-pc-linux-gnu checking host
> system type... powerpc-unknown-none checking target system
> type... powerpc-unknown-none checking GC version numbers...
> major=6 minor=8 checking for a BSD-compatible install...
> /usr/bin/install -c ...
> checking for ppc-ranlib...
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> configure: error: "Pthreads not supported by the GC on this platform."
> What is the correct threading model?
> Any other pointers on doing this welcome (this is the first
> time I've tried to cross-compile something)
> Jim Marshall
> Sr. Staff Engineer
> WBEM Solutions, Inc.
> Gc mailing list
> Gc at linux.hpl.hp.com
More information about the Gc