From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,733d3008a29a0c63 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news2.arglkargh.de!noris.net!news1.nefonline.de!not-for-mail From: "Alexander Camek" Newsgroups: comp.lang.ada Subject: Re: Using Functions of Executable Date: Thu, 29 Nov 2007 11:36:24 +0100 Organization: NEFkom - Mnet Telekommunikations GmbH Message-ID: References: NNTP-Posting-Host: pleione.3soft.de X-Trace: news1.nefonline.de 1196332575 3037 212.114.211.8 (29 Nov 2007 10:36:15 GMT) X-Complaints-To: usenet@news1.nefonline.de NNTP-Posting-Date: Thu, 29 Nov 2007 10:36:15 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-NNTP-Posting-Host: 10.1.1.39 Xref: g2news1.google.com comp.lang.ada:18673 Date: 2007-11-29T11:36:24+01:00 List-Id: 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