From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.43.139.66 with SMTP id iv2mr9195588icc.17.1398277859828; Wed, 23 Apr 2014 11:30:59 -0700 (PDT) X-Received: by 10.140.92.227 with SMTP id b90mr61562qge.25.1398277859772; Wed, 23 Apr 2014 11:30:59 -0700 (PDT) Path: border2.nntp.ams2.giganews.com!backlog4.nntp.ams3.giganews.com!backlog4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news.glorb.com!l13no10120013iga.0!news-out.google.com!du2ni14151qab.0!nntp.google.com!m5no4718584qaj.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 23 Apr 2014 11:30:59 -0700 (PDT) In-Reply-To: <85y4yw4hcj.fsf@stephe-leake.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.237.162.39; posting-account=FlDDTgoAAAB5iCuW7fM5pP_RHQGC8krX NNTP-Posting-Host: 105.237.162.39 References: <85y4yw4hcj.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GLIBC_2.14 memcpy From: Ian Douglas Injection-Date: Wed, 23 Apr 2014 18:30:59 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2134 Xref: number.nntp.dca.giganews.com comp.lang.ada:186038 Date: 2014-04-23T11:30:59-07:00 List-Id: 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