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-Thread: 103376,f9c7bcd455cb4cab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Building C main with Ada on Visual V++ - _image_base_ Date: Thu, 02 Sep 2004 18:38:27 +0200 Organization: AdaCL Message-ID: <8305344.aqMzkElDTs@linux1.krischik.com> References: <978305c9.0409020549.3b7afa00@posting.google.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1094149662 05 29176 1IhaXyMJUy2CI8W 040902 18:27:42 X-Complaints-To: usenet-abuse@t-online.de X-ID: XLpxFZZpQead4SssEF0q9g-58WGfFnE9+FRGz+IBHEDoNgvlbPT7cg User-Agent: KNode/0.7.7 Xref: g2news1.google.com comp.lang.ada:3271 Date: 2004-09-02T18:38:27+02:00 List-Id: Paul Springer wrote: > I am trying to build a program in MS Visual C++ Studio. I have a C > main program and have included what I think are the appropriate .o > files and gnat libraries. I have complied with the steps I saw in a > old posting from this group. I can build and execute this mixed > language program using gnat tools. > The problem I am having in MS VS is an unresolved symbol called > _image_base_, used in the gnat file a-traceb.o. The symbol doesn't > seem to be defined in any of the gnat libraries. I have tried this > with and without the default .lib files (for a Win32 Console > application). The result is th same. I do check the checkmark for > including the standard libraries. Did you used "gnat bind" to create a bind file for Ada. Thats the files which start with "b~". I have got an example on how to do that at: http://cvs.sourceforge.net/viewcvs.py/adacl/CUnicode/ Look at "Include/NT/" for the bind file source. With Regards Martin. -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com