------- Comment #6 from charlet at gcc dot gnu dot org 2010-04-30 09:36 ------- The bug is in your manual build procedure (the patch to s-finimp.adb is a kludge that would only hide the wrong build procedure) which is bypassing the gnat toolset normal operations.
I would suggest using stand alone library project files which are designed for exactly this purpose, and will create a proper executable without calling elaboration twice, see the GNAT documentation for more details. -- charlet at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38832