[gtkada] What is: pragma Unreferenced ?

Preben Randhol randhol at pvv.org
Fri Jul 18 11:10:56 CEST 2003


Preben Randhol <randhol at pvv.org> wrote on 17/07/2003 (15:19) :
> What does this mean? I see that when I use gnat 3.3 (gcc) the executable
> size of my app goes from 73kb to 358kb. All .o files are smaller with
> 3.3 than 3.14p while .ali files are bigger. But this huge difference in
> executable size what is causing this? If it because of the pragmas above
> (which 3.3 seem to accept)?

What I have found out is that gnat-3.3 does not link the libgnat shared
but includes it into the source code. I cannot figure out how to get it
to be linked as shared. -bargs -shared don't help. Anybody else
experienced this?

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list