comp.lang.ada
 help / color / mirror / Atom feed
From: "marcelo.batera@gmail.com" <marcelo.batera@gmail.com>
Subject: Re: GNAT Project Manager and DLLs
Date: Tue, 19 Feb 2008 12:28:01 -0800 (PST)
Date: 2008-02-19T12:28:01-08:00	[thread overview]
Message-ID: <d1e65c34-0c90-47d4-b383-0a0d501d6944@d4g2000prg.googlegroups.com> (raw)
In-Reply-To: f443558b-589a-4af6-b3c4-0a1a7ef932dd@p25g2000hsf.googlegroups.com

On 19 fev, 12:02, "marcelo.bat...@gmail.com"
<marcelo.bat...@gmail.com> wrote:
> 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-...
>
>     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

got it


all I had to do is generate a Stand-alone Library.

http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Stand_002dalone-Library-Projects.html#Stand_002dalone-Library-Projects



  reply	other threads:[~2008-02-19 20:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 14:02 GNAT Project Manager and DLLs marcelo.batera
2008-02-19 20:28 ` marcelo.batera [this message]
2008-02-19 21:16 ` Simon Wright
2008-02-19 22:45   ` Simon Wright
2008-02-19 22:59   ` marcelo.batera
2008-02-20 20:38     ` Simon Wright
2008-02-21 18:10       ` marcelo.batera
2008-02-21 22:05         ` Vadim Godunko
replies disabled

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