Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > GNAT Project Ma...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 5556 of 5931
Post > Topic >>

GNAT Project Manager and DLLs

by "marcelo.batera@[EMAIL PROTECTED] " <marcelo.batera@[EMAIL PROTECTED] > Feb 19, 2008 at 06:02 AM

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@[EMAIL PROTECTED]
 ~/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_RegisterCl*****
0000201c A __bss_start
         w __cxa_finalize@[EMAIL PROTECTED]
 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
 




 8 Posts in Topic:
GNAT Project Manager and DLLs
"marcelo.batera@[EMA  2008-02-19 06:02:58 
Re: GNAT Project Manager and DLLs
"marcelo.batera@[EMA  2008-02-19 12:28:01 
Re: GNAT Project Manager and DLLs
Simon Wright <simon.j.  2008-02-19 21:16:09 
Re: GNAT Project Manager and DLLs
Simon Wright <simon.j.  2008-02-19 22:45:25 
Re: GNAT Project Manager and DLLs
"marcelo.batera@[EMA  2008-02-19 14:59:46 
Re: GNAT Project Manager and DLLs
Simon Wright <simon.j.  2008-02-20 20:38:21 
Re: GNAT Project Manager and DLLs
"marcelo.batera@[EMA  2008-02-21 10:10:49 
Re: GNAT Project Manager and DLLs
Vadim Godunko <vgodunk  2008-02-21 14:05:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 19:37:36 CDT 2008.