comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Undefined reference errors and strange new files appearing
Date: Sun, 22 Jun 2014 21:50:28 +0100
Date: 2014-06-22T21:50:28+01:00	[thread overview]
Message-ID: <lya994is8b.fsf@pushface.org> (raw)
In-Reply-To: c0mes2FnvajU1@mid.individual.net

hreba <hreba@terra.com.br> writes:

> I guess I forgot something in the project files.

I'd modify test_genlists.gpr as below:

with "../../gen.gpr";

project Test_Genlists is

   for Main use ("test_lists.adb");
   for Object_Dir use ".build";     -- to keep .o etc out of sight
   for Exec_Dir use ".";            -- to have executable 'here' anyway

   package Builder is               -- not Linker
      for Default_Switches ("ada") use ("-g");
   end Builder;

   package Compiler is
      for Default_Switches ("ada") use ("-g", "-gnatf", "-gnat05");
   end Compiler;

end Test_Genlists;


> Nevertheless I reproduce the start of my sources:

But you've left off the end, which discourages us (me) from trying out
your code on our machines and (maybe) seeing the problem.

It really helps if you can produce a small *compilable* example.

See http://sscce.org


And I don't think you told us what operating system/compiler you're
using? I can see it's Unix-based.


  parent reply	other threads:[~2014-06-22 20:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-21 22:21 Undefined reference errors and strange new files appearing hreba
2014-06-22  5:56 ` Dmitry A. Kazakov
2014-06-22  9:04   ` Georg Bauhaus
2014-06-22 16:08     ` hreba
2014-06-22 15:51   ` hreba
2014-06-22 20:06     ` Dmitry A. Kazakov
2014-06-22 20:30       ` hreba
2014-06-22 20:43   ` Simon Wright
2014-06-22 20:50 ` Simon Wright [this message]
2014-06-24  1:56   ` hreba
replies disabled

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