RE: [ng-spice-devel] Spice3f4 on Win32 with MinGW


To ng-spice-devel@ieee.ing.uniroma1.it
From Michael Smith <msmith@labyrinth.net.au>
Date Thu, 26 Apr 2001 01:46:12 +1000
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <CF654D964573D311A1CA0090278A36FF4CBE4A@EDIN_EXM1 >
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it


>What am I missing ?
>

The traditional unix linker (ld) is a single-pass linker. This means that,
if a symbol is referenced in library a, and defined in library b, library b
must be after library a on the link line, or the symbol won't be found.
This problem goes away with dynamic linking. It becomes significantly more
painful if there are circular dependencies in the two (or more) libraries -
this can require multiple instances of the library on the command line
(e.g. -lsomelib -lsomeotherlib -lsomelib)

All of the above is written while I'm trying to get my head around some
quantum mech late at night, and may be entirely wrong. It's more or less
accurate though, I think.

Michael (an interested observer)


Partial thread listing: