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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,975fb033559c85bd,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-25 12:02:20 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx01.iad01.newshosting.com!newspeer.monmouth.com!newsfeed.mathworks.com!news.mathworks.com!not-for-mail From: "Peter Maloney" Newsgroups: comp.lang.ada Subject: linking MSVC object files and GNAT object files using MSVC linker Date: Thu, 25 Mar 2004 15:02:19 -0500 Organization: The MathWorks, Inc. Message-ID: Reply-To: "Peter Maloney" NNTP-Posting-Host: maloneyplt.mi.mathworks.com X-Trace: fred.mathworks.com 1080244940 25837 172.16.10.196 (25 Mar 2004 20:02:20 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Thu, 25 Mar 2004 20:02:20 +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:6522 Date: 2004-03-25T15:02:19-05:00 List-Id: Hi everyone: I have a C main routine that I have compiled to .obj using MSVC. 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) . Does anyone know how to do this? Thanks in advance for any help you can give... Pete