comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Building C main with Ada on Visual V++ - _image_base_
Date: Thu, 02 Sep 2004 18:38:27 +0200
Date: 2004-09-02T18:38:27+02:00	[thread overview]
Message-ID: <8305344.aqMzkElDTs@linux1.krischik.com> (raw)
In-Reply-To: 978305c9.0409020549.3b7afa00@posting.google.com

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




  reply	other threads:[~2004-09-02 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 13:49 Building C main with Ada on Visual V++ - _image_base_ Paul Springer
2004-09-02 16:38 ` Martin Krischik [this message]
2004-09-03 16:17   ` Paul Springer
2004-09-05  8:00     ` Martin Krischik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox