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=-1.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ba6c459e28f62d3f,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-05 14:17:58 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!cs.utexas.edu!swrinde!gatech!udel!news.mathworks.com!newshost.marcam.com!charnel.ecst.csuchico.edu!olivea!news.bu.edu!gw1.att.com!nntpa!not-for-mail From: ka@socrates.hr.att.com (Kenneth Almquist) Subject: Re: GNAT & POSIX Message-ID: Keywords: GNAT POSIX Sender: news@nntpa.cb.att.com (Netnews Administration) Nntp-Posting-Host: socrates.hr.att.com Organization: AT&T References: Date: Sun, 5 Mar 1995 06:52:43 GMT Date: 1995-03-05T06:52:43+00:00 List-Id: mcriley@BIX.com wrote: > When using GNATBL to link I get an abundance of 'Undefined > references', _not_ referring to the C routines I'm linking, those > are resoved quite nicely, but of a whole slew of POSIX threads > functions. These are all coming out of Interfaces.C.POSIX_. This sounds like you are using Ada tasks on a platform that doesn't support them. The run time system for GNAT (named GNARL) includes a bunch of tasking code which is loaded if your program uses any of the tasking features of Ada (including the "delay" statement). Unless you are running the OS/2 version of GNAT, the tasking code uses POSIX threads, and will generate "Undefined references" on platforms which don't support POSIX threads. Kenneth Almquist