linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Cross compiler
@ 2005-05-26 15:33 Rune Torgersen
  2005-05-30 10:23 ` Gerhard Jaeger
  0 siblings, 1 reply; 3+ messages in thread
From: Rune Torgersen @ 2005-05-26 15:33 UTC (permalink / raw)
  To: linuxppc-embedded

Anybody know how to set up a cross compiler for nptl support?

I'm trying to use crosstools to compile a gcc-3.4.3/glibc-2.3.4 for
ppc-604 (actually for mpc826x) on i686.

It works if I make it with linuxthreads.
If I do GLIBC_ADDON_OPTIONS=3D=3Dnptl ./my-ppc604_new.sh
Then glibc configure fails with an error about needing a gcc with forced
unwind support.

If I try to set up gcc options to enable threading, then GCC core
compile fails with error that it cannot find pthread.h

Anybody know of a solution?

Rune Torgersen
System Developer
Innovative Systems LLC
1000 Innovative Drive
Mitchell, SD 57301
Ph: 605-995-6120
www.innovsys.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cross compiler
  2005-05-26 15:33 Cross compiler Rune Torgersen
@ 2005-05-30 10:23 ` Gerhard Jaeger
  0 siblings, 0 replies; 3+ messages in thread
From: Gerhard Jaeger @ 2005-05-30 10:23 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

On Thursday 26 May 2005 17:33, Rune Torgersen wrote:
> Anybody know how to set up a cross compiler for nptl support?
> 
> I'm trying to use crosstools to compile a gcc-3.4.3/glibc-2.3.4 for
> ppc-604 (actually for mpc826x) on i686.

which version of crosstools?

> It works if I make it with linuxthreads.
> If I do GLIBC_ADDON_OPTIONS==nptl ./my-ppc604_new.sh
> Then glibc configure fails with an error about needing a gcc with forced
> unwind support.
> 
> If I try to set up gcc options to enable threading, then GCC core
> compile fails with error that it cannot find pthread.h
> 
> Anybody know of a solution?

have you checked out:
http://www.wwwdotorg.org/writings/code/nptl_tool/nptl_tool.html

Gerhard

-- 
Gerhard Jaeger <gjaeger@sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Cross compiler
@ 2005-05-31 15:29 Rune Torgersen
  0 siblings, 0 replies; 3+ messages in thread
From: Rune Torgersen @ 2005-05-31 15:29 UTC (permalink / raw)
  To: Gerhard Jaeger, linuxppc-embedded

> > I'm trying to use crosstools to compile a gcc-3.4.3/glibc-2.3.4 for
> > ppc-604 (actually for mpc826x) on i686.
>=20
> which version of crosstools?

Crosstools-0.31

> > Anybody know of a solution?
>=20
> have you checked out:
> http://www.wwwdotorg.org/writings/code/nptl_tool/nptl_tool.html
>=20

Thanks, I'll have a look at that link.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-31 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 15:33 Cross compiler Rune Torgersen
2005-05-30 10:23 ` Gerhard Jaeger
  -- strict thread matches above, loose matches on Subject: below --
2005-05-31 15:29 Rune Torgersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).