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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,541858b4f9b6c9f9,start X-Google-Attributes: gid103376,public From: Vance Christiaanse Subject: Calling GNAT Ada 95 from C Date: 1996/04/09 Message-ID: <316ACAF2.5488@ix.netcom.com>#1/1 X-Deja-AN: 146711356 content-type: text/plain; charset=us-ascii organization: Cintech Consulting x-netcom-date: Tue Apr 09 5:37:43 PM PDT 1996 mime-version: 1.0 reply-to: cintech@ix.netcom.com newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (Macintosh; U; PPC) Date: 1996-04-09T17:37:43-07:00 List-Id: In an earlier thread, we learned that gnatbind -n my_ada.ali gnatbl -linkonly my_ada.ali my_c.o would link a C main that called Ada code in a GNAT environment. It worked for me until I threw a task into my Ada code. Then I got an undefined symbol, "__priority_main" I think it was. Is it possible with GNAT for a C main to call Ada code that includes a task? If so, could someone please tell me how to do it? Thanks in advance. I tried several things but could not get it to work. Vance Christiaanse cintech@ix.netcom.com