comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: STORAGE_ERROR in adainit
Date: 18 Aug 2004 20:44:30 +0100
Date: 2004-08-18T20:44:30+01:00	[thread overview]
Message-ID: <x7voel8qli9.fsf@smaug.pushface.org> (raw)
In-Reply-To: 7on6i05k3etrq0ol5aoaffkqasnenie5ff@4ax.com

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.

-- 
Simon Wright                               100% Ada, no bugs.



  parent reply	other threads:[~2004-08-18 19:44 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 [this message]
2004-08-18 21:13             ` James Alan Farrell
replies disabled

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