comp.lang.ada
 help / color / mirror / Atom feed
From: James Alan Farrell <anonymous@anonymous.com>
Subject: Re: STORAGE_ERROR in adainit
Date: Wed, 18 Aug 2004 17:13:33 -0400
Date: 2004-08-18T17:13:33-04:00	[thread overview]
Message-ID: <ldg7i013hiv078728kmabpgdugookj9q3v@4ax.com> (raw)
In-Reply-To: x7voel8qli9.fsf@smaug.pushface.org

On 18 Aug 2004 20:44:30 +0100, Simon Wright <simon@pushface.org>
wrote:

>James Alan Farrell <anonymous@anonymous.com> writes:
>
>> Other than that I don't understand why you would have different
>> results.  Perhaps it is because my program_error C function is in a
>> library, not in a .o file?  Don't know what different that would make,
>> though.  I'll play around with the above program to see what I get.
>
>Symbols in a library.a are loaded if required (ie, if something before
>-l rary requires symbol foo, and module bar.o in library.a contains a
>definition of foo, then bar.o is "extracted" from library.a and linked
>in).
>
>If on the other hand you include bar.o on the ld command line, it's
>linked unconditionally.

So what you are saying is (at least in this situation) it should make
no difference because the whole of the .o file is linked(?)  This
agrees with my understanding, but not with what we are seeing.  Either
I should not get the problem because the object file with
program_error is not linked OR I should get the same warning Bjorn
got.

(Apologies for the spelling of Bjorn - I do not know how to access
non-English characters on the keyboard)

Unfortunately I have not had time to look at Bjorn's program today,
and don't know if I'll get to it this week, but I will as soon as I
can.

James Alan



      reply	other threads:[~2004-08-18 21:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-11 21:31 STORAGE_ERROR in adainit James Alan Farrell
2004-08-11 22:29 ` Marc A. Criley
2004-08-12 13:35   ` James Alan Farrell
2004-08-12 14:20     ` Frode Tenneboe
2004-08-12 15:55       ` James Alan Farrell
2004-08-12 21:17         ` Björn Persson
2004-08-12 19:28 ` James Alan Farrell
2004-08-12 19:42   ` Ludovic Brenta
2004-08-12 22:10     ` Stephen Leake
2004-08-12 21:15   ` Björn Persson
2004-08-13 13:36     ` James Alan Farrell
2004-08-17 21:37       ` Björn Persson
2004-08-18 14:00         ` James Alan Farrell
2004-08-18 15:57           ` Björn Persson
2004-08-18 19:44           ` Simon Wright
2004-08-18 21:13             ` James Alan Farrell [this message]
replies disabled

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