I'm trying to call Ada code from a Java app in Linux. The Ada code resides in a dynamic lib with a C-api.
Linking the .so from Java works. Likewise calling the C-functions in the .so and extending execution into Ada work. But that's where it ends...
The call to Ada works fine, but it seems that Ada doesn't have a (secondary) stack?
When building the .so I've tried binding with -Dnn (like -D20k and -D10m) and also tried to call a task with the 'secondary_stack_size' directive. But the task itself won't be created due to no stack, neither static or dynamic creation works.