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


To "'ng-spice-devel@ieee.ing.uniroma1.it'" <ng-spice-devel@ieee.ing.uniroma1.it>
From "Gillespie, Alan" <Alan.Gillespie@analog.com>
Date Wed, 25 Apr 2001 16:31:41 +0100
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

 
> It is written in the source de.c:
> 
>  /* URC device MUST precede both resistors and capacitors */

That's definitely not the problem I was having. I can only
assume that my trouble was due to a "feature" of the MinGW
port of ld. I know that make doesn't work, and I'm suspicious
of why ACS crashes when compiled with the MinGW gcc, so with
a flaky ld as well, I don't think I'll be rushing to port
ng-spice to MinGW.

But I was really asking about "how do I know what order" in
the sense that, if I'm writing a C program, how, in general,
do I know in what order I need to call the libraries.

I don't know, (or care) what the linker has to do, but I
thought it just gathered up a bunch of "symbols" in a bunch
of libraries, and just "linked" the references to the symbols
with the symbols themselves. Surely it just reads all the
libraries, builds a big table of all the symbols in all
the libraries, and connects all the references up.

As far as I'm aware, there's no "scope" involved at this level,
so there's no reason for any symbol in any library not to be
visible from any other library.

What am I missing ?

Cheers,

Alan

Partial thread listing: