comp.lang.ada
 help / color / mirror / Atom feed
From: smcneil@netcom.com (Sean McNeil)
Subject: Re: TASK and Gnat 1.83 under Linux
Date: Thu, 10 Nov 1994 06:15:27 GMT
Date: 1994-11-10T06:15:27+00:00	[thread overview]
Message-ID: <smcneilCz1G1r.Jos@netcom.com> (raw)
In-Reply-To: 39qa42$96r@upsn2.u-psud.fr

In article <39qa42$96r@upsn2.u-psud.fr>,
rogliano patrice <rogliano@hpux_19.u-psud.fr> wrote:
>
>	Hie guys,
>
>First I would like to excuse myself for my bad english (I am a french Student)...
>
>I am learning Ada at University and I am trying to use Gnat on my Linux Box.
>All the programs I've compiled without any task succeeded BUT I couldn't 
>use any Task... 
>The message I received told me that some symbols couldn't be resolved during
>the binding phase (gnatbl -o task task.ali).
>So I tried to use the library libgthreads.a which is in /usr/lib/gcc-lib/2.6.0/gnatlib/
>but this file is just about 200 bytes!!! It couldn't bind either....

I believe that libgthreads.a is just an interface to pthreads (or just
a stub library??).  What you need is a libpthreads.a - a library for
pthread support.

>
>My question is: How to compile a simple program with a Task ?
>
>
>		Patrice ROGLIANO (DESS SCHM / ORSAY)
>

I have compiled a pthread library under Linux (I don't recall where I got
it), but unfortunately, the library is incomplete.  I still get unresolved
references with this library.  Until a complete pthreads library is 
available for Linux, I am afraid you will not be able to use tasking with
gnat's Ada 9x.  Sorry.

Sean McNeil



  reply	other threads:[~1994-11-10  6:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-09 11:00 TASK and Gnat 1.83 under Linux rogliano patrice
1994-11-10  6:15 ` Sean McNeil [this message]
1994-11-11 12:28   ` Rolf Ebert
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox