[Gc] GC 6.8 & PowerPC

jim marshall jim.marshall at wbemsolutions.com
Tue Dec 18 15:45:38 PST 2007



Boehm, Hans wrote:
> 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.
>   
Thank you very much Hans, I appreciate your help!
> Hans
>
>   
>> -----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
>> follows:
>>
>> [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...
>> /opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-860-linux-gnu//bi
>> n/powerpc-860-linux-gnu-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)
>>
>> Thanks
>>
>> --
>> Jim Marshall
>> Sr. Staff Engineer
>> WBEM Solutions, Inc.
>> 978-947-3607
>>
>> _______________________________________________
>> Gc mailing list
>> Gc at linux.hpl.hp.com
>> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>>
>>     
>
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>
>
>
>   


More information about the Gc mailing list