comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Project Manager and DLLs
@ 2008-02-19 14:02 marcelo.batera
  2008-02-19 20:28 ` marcelo.batera
  2008-02-19 21:16 ` Simon Wright
  0 siblings, 2 replies; 8+ messages in thread
From: marcelo.batera @ 2008-02-19 14:02 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-21 22:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 14:02 GNAT Project Manager and DLLs marcelo.batera
2008-02-19 20:28 ` marcelo.batera
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

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