comp.lang.ada
 help / color / mirror / Atom feed
From: "Gerd" <GerdM.O@t-online.de>
Subject: Re: Problem creating bindings - please help
Date: 19 May 2006 01:30:57 -0700
Date: 2006-05-19T01:30:57-07:00	[thread overview]
Message-ID: <1148027457.244973.210840@g10g2000cwb.googlegroups.com> (raw)
In-Reply-To: <ip9tgrmupw2g$.3wt200aedffs.dlg@40tude.net>

I've found the reason. It seems to be a bug in GNAT (3.15p). It depends
on the underscore "_" in the external name.
If the external function has a name xyz then everything works fine, but
if the name contains an "_" line x_z, link reports an error.

I've patched the .lib (replace "_" by "X") and the .exe (replace "X"
back to "_") and now it works. But that's not a nice method. Does
anyone know how Aonix behaves in this case (function name in dll
contains underscore)?

Gerd




  reply	other threads:[~2006-05-19  8:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18  6:46 Problem creating bindings - please help Gerd
2006-05-18  7:57 ` Dmitry A. Kazakov
2006-05-18 10:51   ` Gerd
2006-05-18 11:24     ` christoph.grein
2006-05-18 12:02       ` Gerd
2006-05-18 12:15         ` Georg Bauhaus
2006-05-18 12:32     ` Dmitry A. Kazakov
2006-05-19  8:30       ` Gerd [this message]
2006-05-19  3:25 ` Steve
replies disabled

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