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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,28202776a316f7c4,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!p25g2000hsf.googlegroups.com!not-for-mail From: "marcelo.batera@gmail.com" Newsgroups: comp.lang.ada Subject: GNAT Project Manager and DLLs Date: Tue, 19 Feb 2008 06:02:58 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 201.81.97.217 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1203429788 5624 127.0.0.1 (19 Feb 2008 14:03:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 19 Feb 2008 14:03:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p25g2000hsf.googlegroups.com; posting-host=201.81.97.217; posting-account=NclPyQoAAAAE3vS1fHd_8NOSumP9W3Ey User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20071203 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19887 Date: 2008-02-19T06:02:58-08:00 List-Id: Hello there, I'm trying to generate some dll's (.so files as I'm in linux) using gpr files but I'm stuck. The gpr file is at: http://www.adaworks.net/adaworks/browser/trunk/awplug-samples/awplug-samples-plugin.gpr The problem is that it does not create a "samplepluginit" symbol as I expected: ogro@leibnis ~/dev/adaworks/trunk/awplug-samples $ nm pluginlib/ libsampleplug.so 000006dc r C.10.864 00002018 d DW.ref.__gnat_eh_personality 00001ee8 a _DYNAMIC 00001ff4 a _GLOBAL_OFFSET_TABLE_ w _Jv_RegisterClasses 0000201c A __bss_start w __cxa_finalize@@GLIBC_2.1.3 0000200c d __dso_handle w __gmon_start__ U __gnat_eh_personality 00000625 t __i686.get_pc_thunk.bx 0000201c A _edata 00002020 A _end 000006b4 T _fini 00000500 T _init U plug_interface__register 00002014 D sampleplug_E 00000640 T sampleplug___elabb 00000630 T sampleplug__void If I compile and bind it manually the library is successfully built as expected. Is it possible to create a complete dll using gnat project manager? I don't know how to elaborate more on this issue but the source files for the entire project are available at svn://adaworks.net/adaworks/trunk . For building this example I'm trying to run, just cd trunk/awplug-samples && make run The manually built version can be executed by cd trunk/awplug-samples && make mrun For those who don't know yet, AdaWorks is a project for creating a complete framework for building business applications in Ada. It's still in it's early stages of development - that's why we haven't made the official announcement on this list yet. Regards