From: "Alexander Camek" <Alexander.Camek@Elektrobit.com>
Subject: Using Functions of Executable
Date: Thu, 22 Nov 2007 10:18:09 +0100
Date: 2007-11-22T10:18:09+01:00 [thread overview]
Message-ID: <newscache$2uhwrj$rpn$1@pleione.3soft.de> (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
next reply other threads:[~2007-11-22 9:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-22 9:18 Alexander Camek [this message]
2007-11-22 10:18 ` Using Functions of Executable 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox