comp.lang.ada
 help / color / mirror / Atom feed
From: "cybersaga" <cybersaga@gmail.com>
Subject: Re: DLL Troubles
Date: 19 Mar 2006 17:10:12 -0800
Date: 2006-03-19T17:10:12-08:00	[thread overview]
Message-ID: <1142817012.303350.227220@g10g2000cwb.googlegroups.com> (raw)
In-Reply-To: <1142803154.781631.265030@e56g2000cwe.googlegroups.com>

I finally got it working. Turns out I did have to compile it
differently:

gcc -c mydll.adb
gnatbind -n mydll
gcc -c b~mydll.adb
gcc -shared -o .\dll\mydll.dll mydll.o b~mydll.o
-LC:/GNAT/lib/gcc/pentium-mingw32msv/3.4.5/adalib/ -lgnat-GPL2005

If anyone can figure out how to do the same thing using the project
file, let me know.




  reply	other threads:[~2006-03-20  1:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-19 18:46 DLL Troubles cybersaga
2006-03-19 19:22 ` tmoran
2006-03-19 19:27   ` cybersaga
2006-03-19 19:30     ` cybersaga
2006-03-19 20:13       ` Pascal Obry
2006-03-19 20:23         ` cybersaga
2006-03-19 21:19           ` cybersaga
2006-03-20  1:10             ` cybersaga [this message]
2006-03-19 19:37 ` Jeffrey R. Carter
replies disabled

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