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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,990a99eade985df2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-21 15:44:22 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!news-reader.ntrnet.net!uunet!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: gnatlink Q X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3B3272EA.93DC1D7B@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: Mime-Version: 1.0 Date: Thu, 21 Jun 2001 22:19:22 GMT X-Mailer: Mozilla 4.5 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:9011 Date: 2001-06-21T22:19:22+00:00 List-Id: tmoran@acm.org wrote: > > I seem to have forgotten how to link C subroutines with Gnat under > windows. gnatlink --LINK=link.exe fires up the MS linker OK but > appends a bunch of LD and -l commands that MS does not understand. > I can find no guidance in the gnat_ug or gnat_rm. What have I forgotten? I've always compiled the C with "gcc -c", then used "gnatmake ... -largs whatever.o". -- Jeffrey Carter