comp.lang.ada
 help / color / mirror / Atom feed
From: Ian Douglas <ian@vionia.com>
Subject: Re: GLIBC_2.14  memcpy
Date: Wed, 23 Apr 2014 11:30:59 -0700 (PDT)
Date: 2014-04-23T11:30:59-07:00	[thread overview]
Message-ID: <daccf843-64e2-4a5a-a9de-ccbed065d9e2@googlegroups.com> (raw)
In-Reply-To: <85y4yw4hcj.fsf@stephe-leake.org>

On Wednesday, 23 April 2014 09:47:56 UTC+2, Stephen Leake  wrote:
> 
> 
> Use static rather than dynamic linking.

I thought I was .... but possibly am not.

Am using GPS, running the build via the GUI. Only 'static' option I see is on the Project -> Edit Project Properties -> Library where I selected 'Static' but nothing else on that tab is filled in ... should I add Glibc or somesuch there?

If it helps the executable size is over 500 KB. But apparently that is par for the course for beginners :-)

From the .gpr file:

package Compiler is
      for Default_Switches ("ada") use ("-O2", "-gnat12", "-gnato", "-fstack-check", "-gnatE", "-gnatyde");
   end Compiler;

   package Linker is
      for Default_Switches ("ada") use ("-Wl,--gc-sections");
   end Linker;

   for Source_Files use ("Hello1.adb");

   package Builder is
      for Default_Switches ("ada") use ("-s");
   end Builder;

thanks, Ian


  parent reply	other threads:[~2014-04-23 18:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 13:28 GLIBC_2.14 memcpy Ian Douglas
2014-04-22 16:54 ` Tero Koskinen
2014-04-22 19:41   ` Ian Douglas
2014-04-22 21:58     ` Jeffrey Carter
2014-04-23  7:47 ` Stephen Leake
2014-04-23 11:11   ` G.B.
2014-04-23 18:30   ` Ian Douglas [this message]
2014-04-23  7:53 ` anon
2014-04-23 18:37   ` Ian Douglas
2014-04-24  9:56     ` anon
2014-04-26 20:10       ` Ian Douglas
2014-04-28 12:23         ` anon
replies disabled

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