Re: strange linking problem
- From: nicolasbock@xxxxxxxxx
- Date: 28 Apr 2005 08:49:39 -0700
Thanks Richard, I didn't know that. I usually use C, and since strings
don't exist there I sort of assumed that to be similar in f90.
I hope I don't sound like a complete moron now, but I still don't quite
understand this. As far as I know, the linker goes through the object
files and looks for unsatisfied references to functions and variables.
Then it looks through the libraries and tries to satisfy those
references by linking code from the libraries into the executable. If
that's correct, then I don't understand how the linker does not either
1) find a reference to "test", link that in from the library and
everyone's happy, or 2) see that "test" is not satisfied and give me an
error. The fact that it does not complain suggests that the linker
indeed is linking something into the executable from the library. But
apparently something that does not contain the literal string that I
assigned to "test".
Could someone explain this to me?
Thanks, nick
.
- Follow-Ups:
- Re: strange linking problem
- From: Richard E Maine
- Re: strange linking problem
- References:
- strange linking problem
- From: nicolasbock
- Re: strange linking problem
- From: Richard E Maine
- strange linking problem
- Prev by Date: Re: why doesn't this compile ?
- Next by Date: Re: strange linking problem
- Previous by thread: Re: strange linking problem
- Next by thread: Re: strange linking problem
- Index(es):
Relevant Pages
|