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,fd7e47dd49751091 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: on calling Ada from C/C++ Date: 1996/06/13 Message-ID: #1/1 X-Deja-AN: 160481384 references: organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-06-13T00:00:00+00:00 List-Id: Nasser said "If you want to call more than one ada subprogram from C++, I found that gnatlink (the gnat ada linker) does not take more than .ALI file, this means that you can not have separate ada functions/procedure in separate files and have C++ call them (unless I missed something), the easy solution is to put them in one ada package, this way you can have one .ALI file , and the gnatlink is happy. " That's wrong, use the -n switch for gnatbind, that's what it is for!