comp.lang.ada
 help / color / mirror / Atom feed
* Using Functions of Executable
@ 2007-11-22  9:18 Alexander Camek
  2007-11-22 10:18 ` Dirk Heinrichs
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Alexander Camek @ 2007-11-22  9:18 UTC (permalink / raw)


Hi all,

I have got an executable generated with gnatmake. And a lot of modules using 
some functions of the executable. Now all these modules are generated as 
libraries and used during run-time. Okay this works fine under Linux, but 
under Windows i got stucked.

My Problem is that I can't export the functions given in my executable, 
although all exported functions in the executable are decorated with pragma 
Export(C, <Funktion>, <Symbolname>).

What I have tried is to 
use -Wl,--export-dynamics,--out-implib,<Executable-name>.lib, but with this 
option i don't get any .lib file to link my Dll against. And if i use the 
opiton -Wl,--export-all-symbols every symbol even not from libraries my 
executable is linked against. I also combined the last option 
with -Wl,--exclude-libs,ALL but that doesn't help. Extend to that I now, 
that all works fine with .gpr files, there i only use the first linker 
option. But I don't want to use them anymore, to make the build more 
transparent.

Anybody an idea. I am really stucked.

Thanks to all.

Greetings

Alexander 





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-11-29 10:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-22  9:18 Using Functions of Executable Alexander Camek
2007-11-22 10:18 ` Dirk Heinrichs
2007-11-26 11:15 ` Frank Piron
2007-11-26 13:07   ` Alexander Camek
2007-11-27  9:56     ` Frank Piron
2007-11-27 17:11       ` Pascal Obry
2007-11-28 10:57         ` Alexander Camek
2007-11-28 12:04         ` Martin Krischik
2007-11-28 13:12           ` Pascal Obry
2007-11-28  8:59     ` Stephen Leake
2007-11-27 13:08 ` Alexander Camek
2007-11-29 10:36 ` Alexander Camek

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