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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,975fb033559c85bd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-25 14:22:29 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newspeer.monmouth.com!newsfeed.mathworks.com!news.mathworks.com!not-for-mail From: "Peter Maloney" Newsgroups: comp.lang.ada Subject: Re: linking MSVC object files and GNAT object files using MSVC linker Date: Thu, 25 Mar 2004 17:22:28 -0500 Organization: The MathWorks, Inc. Message-ID: References: <9KH8c.95829$po.734286@attbi_s52> Reply-To: "Peter Maloney" NNTP-Posting-Host: maloneyplt.mi.mathworks.com X-Trace: fred.mathworks.com 1080253348 9516 172.16.10.196 (25 Mar 2004 22:22:28 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Thu, 25 Mar 2004 22:22:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:6529 Date: 2004-03-25T17:22:28-05:00 List-Id: Hi tmoran: I have not tried the .o file conversion but I will try it. It also looks like I have to tell the MSVC linker about libgnat.a, and perhaps a whole host of other lib*.a files as well. Are the .a files ready for use by MSVC, or is there some sort of conversion process for them as well? Thanks, Pete M. wrote in message news:9KH8c.95829$po.734286@attbi_s52... > >I also have a subroutine .o object file that I generated with the GNAT > >gnatmake command. > > > >I would like to use MSVC linker to link the object from GNAT with the object > >from MSVC to create a > >standalone statically linked executatble (.exe, not .dll) . > objcopy abc.o abc.obj > converts a .o file to a .obj file > But first read about mixing languages and calling adainit/adafinal etc.