comp.lang.ada
 help / color / mirror / Atom feed
From: "Alexander Camek" <Alexander.Camek@Elektrobit.com>
Subject: Re: Using Functions of Executable
Date: Thu, 29 Nov 2007 11:36:24 +0100
Date: 2007-11-29T11:36:24+01:00	[thread overview]
Message-ID: <newscache$f4k9sj$g97$1@pleione.3soft.de> (raw)
In-Reply-To: newscache$2uhwrj$rpn$1@pleione.3soft.de

Hi Group,

The initial problem was that when I call gnatmake with only my 
main_programm.adb then there too much exported symbols in my .lib.
These symbols wasn't only symbols from my own libraries, the .lib file also 
contained a lot of system libraries symbols given by gnat or gnarl.

After some deeper search I got rid of the most symbols.

The problem occured during the bind step, which doesn't occure by gpr file 
usage. But this is only a guess.
It seems that the gnatbinder is using not only the system specific files for 
checking. So that the linker is forced to link all that files in my 
executable.
Then I played a little bit with the used switches.

This means I call gnatmake not with -I for system or dll dirs, instead I 
use -A switch in combination with -nostdlib.

Thanks everybody for your help and your hints.

If I have missed something or forgotten, please tell me.

Greetings

Alexander





      parent reply	other threads:[~2007-11-29 10:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
replies disabled

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