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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,28db79a4b238c104 X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: What's wrong with this simple Ada w/ assembly code? Date: 1999/03/05 Message-ID: <36df29c7.27944376@news.pacbell.net>#1/1 X-Deja-AN: 451368932 References: <36ddb9aa.0@silver.truman.edu> <7bm0kb$8uj$1@nnrp1.dejanews.com> <7bmb69$1bh$1@its.hooked.net> <7bmjrm$kjt@news1.newsguy.com> <36def294.13811899@news.pacbell.net> <7bn7qs$dc1$1@nnrp1.dejanews.com> X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.pbi.net 920595314 207.214.211.103 (Thu, 04 Mar 1999 16:55:14 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Thu, 04 Mar 1999 16:55:14 PDT Newsgroups: comp.lang.ada Date: 1999-03-05T00:00:00+00:00 List-Id: >> The original poster's code did not call any system >> utilities via any ABI >SO what, it got called, a callee has to know the rules >just as much as a caller! Since his code was called with zero parameters, and he did not return, but rather called DOS's Terminate call (with correct calling convention), his program did not violate any apparent rules. >I get the message "c:/gnat311/programs/moveto.obj: file >not recognized: File format not recognized gnatmake: *** link failed" That sounds to me like he wants to know how to link, not how to call/be called. Will anyone help him out? Should he ask instead on the Gnat mailing list (the DOS one perhaps?). Or must he switch to one of the Ada compilers that does accept obj files?