workaround, was Re: Gnat STORAGE_ERROR
I compiled just the tight looping numerics as a dll with Gnat, then
compiled the rest of the program with Janus. No more STORAGE_ERROR.
The Gnat-compiled subroutine does declare a local array of 4MB, but it
all seems to work. Wish I knew why it didn't and why it now does.
.
Relevant Pages
- Re: DLLs with GNAT?
... >> I try to write a DLL with GNAT but I've got some problem. ... package API is ... pragma Export; ... (comp.lang.ada) - Re: CString
... Ada main to C++ DLL? ... I should remind you that the documentation sets for gnat are very different ... If you download the windows nt/win32/2000 gnat install bundles, ... I have a feeling you are looking at the linux bundle gnat docs and not the ... (comp.lang.ada) - Re: MinGW GNAT 3.4.4 linking problem
... > The library uses StdCall conventions and I have the .dll and .lib ... > compiled with Microsoft VC98. ... Somehow gnat 3.4.4 expects names of the form ... (comp.lang.ada) - Re: DLLs with GNAT?
... Alfred Hilscher wrote: ... > I try to write a DLL with GNAT but I've got some problem. ... Which Version of GNAT? ... gnatdll shows a warning that DllMain is linked to ... (comp.lang.ada) - Re: Plugins/Dynamic Libraries
... >> A current version of GNAT and GPS can do DLLs out of the box. ... > these are static bindings done at compile time. ... > function which loads the dll, whose name is contained in a variable. ... Last time I checked in GNAT 3.15p you had to read 2 pages of documentation ... (comp.lang.ada) |
|