From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: undefined reference to `adainit'
Date: Mon, 18 Feb 2008 08:04:47 +0100
Date: 2008-02-18T08:04:47+01:00 [thread overview]
Message-ID: <47b92e0f$1@news.post.ch> (raw)
In-Reply-To: <47b765d2$1@news.broadpark.no>
news.broadpark.no schrieb:
> .NET. I made a small project and compiled it as follows:
>
> gnatmake -c api
> gnatbind -n api
> gnatdll -d api.dll api.ali
>
> Does anyone know what to do? The GPS project file look like this:
And where is the "-P" option which tells gnat make to actually use the
project file?
You should use:
gnat make -P api
and nothing else. Using gnatbind and gnatdll is more or less depreciated
- an up to date "gnat make" can do it all for you.
Have a look at the mkutils project which solves a similar problem:
http://code.google.com/p/mkutils
and here especially the build script (gnat make and nothing else):
http://code.google.com/p/mkutils/source/browse/trunk/All.btm
and the main project file:
http://code.google.com/p/mkutils/source/browse/trunk/MK_Utils.gpr
Regards
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
next prev parent reply other threads:[~2008-02-18 7:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 22:39 undefined reference to `adainit' news.broadpark.no
2008-02-17 17:51 ` Simon Wright
2008-02-17 19:07 ` news.broadpark.no
2008-02-17 22:12 ` Simon Wright
2008-02-18 7:04 ` Martin Krischik [this message]
2008-02-18 20:44 ` news.broadpark.no
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox