From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b4517452ef6204ff X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-09 23:52:45 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!ix.netcom.com!netcom.com!smcneil From: smcneil@netcom.com (Sean McNeil) Subject: Re: TASK and Gnat 1.83 under Linux Message-ID: Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <39qa42$96r@upsn2.u-psud.fr> Date: Thu, 10 Nov 1994 06:15:27 GMT Date: 1994-11-10T06:15:27+00:00 List-Id: In article <39qa42$96r@upsn2.u-psud.fr>, rogliano patrice 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