comp.lang.ada
 help / color / mirror / Atom feed
From: xavier grave <xavier.grave@ipno.in2p3.fr>
Subject: Re: cannot generate code for file a-excach.adb (subunit)
Date: Tue, 27 Jan 2009 15:38:59 +0100
Date: 2009-01-27T15:38:59+01:00	[thread overview]
Message-ID: <gln6a4$sql$1@ccpntc8.in2p3.fr> (raw)
In-Reply-To: <ba20a693-c510-4c31-aa4f-8f19a7f2e79b@y1g2000pra.googlegroups.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You need to include excach.adb source file but it is part of the
Ada.Exceptions package and is compiled when you compile a-except.adb
so you don't need to compile it.

As far as I remember...
xavier

Lucretia a �crit :
> Hi,
> 
> In my attempts to enable exceptions in my test kernel, I've come
> across a problem when building up my configurable runtime.
> 
> x86_64-unknown-elf-gcc -fno-pic -c -nostdinc -I. -ffunction-sections -
> fdata-sections -gnato -gnatE -m32 -g2 -gnatf -gnatu -gnatv -gnatpg a-
> excach.adb
> 
> GNAT 4.3.0
> Copyright 1992-2007, Free Software Foundation, Inc.
> 
> Unit name                        File name                     Time
> stamp
> ---------                        ---------
> ----------
> 
> Ada (spec)                       ada.ads
> 20070406091342
> Ada.Exceptions (spec)            a-except.ads
> 20070606104609
> Ada.Exceptions (body)            a-except.adb
> 20071213102130
> Ada.Exceptions.Call_Chain (body) a-excach.adb
> 20051115140645
> Ada.Unchecked_Conversion (spec)  a-unccon.ads
> 20070406091342
> System (spec)                    system.ads
> 20090127135815
> System.Exceptions (spec)         s-except.ads
> 20070912115821
> System.Parameters (spec)         s-parame.ads
> 20090127133535
> System.Soft_Links (spec)         s-soflin.ads
> 20071213103411
> System.Stack_Checking (spec)     s-stache.ads
> 20070912115821
> System.Standard_Library (spec)   s-stalib.ads
> 20070912115821
> System.Storage_Elements (spec)   s-stoele.ads
> 20070912115821
> System.Traceback (spec)          s-traceb.ads
> 20070912115821
> System.Traceback_Entries (spec)  s-traent.ads
> 20070912115821
> System.Wch_Con (spec)            s-wchcon.ads
> 20071213102052
> System.Wch_Stw (spec)            s-wchstw.ads
> 20071213102130
> 
> cannot generate code for file a-excach.adb (subunit)
> to check subunit for errors, use -gnatc
> 
> Compiling: a-excach.adb (source file time stamp: 2005-11-15 14:06:45)
>  76 lines: No errors
> make: *** [a-excach.o] Error 1
> 
> Compiling it with -gnatc returns no errors. I'm confused as to why it
> won't compile properly.
> 
> Thanks,
> Luke.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl/HIMACgkQVIZi0A5BZF54lACfc5F2dF6qW6WJarlqrDDI19cE
/3QAn03PIsifQjamX13o50FCBZmpy00R
=sx51
-----END PGP SIGNATURE-----



  reply	other threads:[~2009-01-27 14:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 14:21 cannot generate code for file a-excach.adb (subunit) Lucretia
2009-01-27 14:38 ` xavier grave [this message]
2009-01-27 17:15   ` Ludovic Brenta
2009-01-27 17:19     ` Lucretia
2009-01-27 17:24       ` Lucretia
2009-01-27 18:13   ` Lucretia
2009-01-27 22:43     ` xavier grave
replies disabled

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