logo       

Re: Building pthread.: msg#00051

gnu.cegcc.devel

Subject: Re: Building pthread.

Hi Leonardo,

sorry for the delay,

Leonardo Weiss Chaves wrote:
> Hi,
>
> I am trying to build jamvm (http://jamvm.sourceforge.net/) with
> cegcc/mingw32ce, since jamvm can also be build with cygwin
> (http://developer.classpath.org/mediation/ClasspathOnCygwin).
>

Cool stuff. I wish I knew about this a year ago, when I was stuck with
Jeode and Thinlet in a project at my last job.

> I am able to build classpath, but when I run the configure script from jamvm
> I get
>
> checking for pthread_self in -lpthread... no
> configure: error: libpthread is missing
>
> with both ceggc and mingw32ce.
>
> So I downloaded pthread 2.0.7 from http://www.gnu.org/software/pth/ and tried
> building it, but the configure script always fails with both cegcc and
> mingw32ce. I also wanted to try pthreads-win32
> (http://sources.redhat.com/pthreads-win32/), but it has no configure script,
> so I was not able to build it.
>
> Has anyone managed to build pthreads with cegcc or with mingw32ce? Or can
> anyone help me build it ;-)
>

Any luck on this yet? AFAIR, some did get pthread built with cegcc, back
in the berlios days.

I though that there was already a port of pthreads-win32 for WinCE at
pthreads-win32 upstream. I've seen the patch for it in the past
somewhere, and I remember that it wasn't that clean (defined an int
errno as a workaround, for example), but it was reported to work
by its author.

OTOH, how hard would it be to add native win32 threads support to jamwm?

Cheers,
Pedro Alves


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise