comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <lucretia9@lycos.co.uk>
Subject: cannot generate code for file a-excach.adb (subunit)
Date: Tue, 27 Jan 2009 06:21:28 -0800 (PST)
Date: 2009-01-27T06:21:28-08:00	[thread overview]
Message-ID: <ba20a693-c510-4c31-aa4f-8f19a7f2e79b@y1g2000pra.googlegroups.com> (raw)

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.



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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 14:21 Lucretia [this message]
2009-01-27 14:38 ` cannot generate code for file a-excach.adb (subunit) xavier grave
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