no joy with 20050723 gcc-4.1 snapshot
Geoffrey Keating
geoffk@apple.com
Tue Aug 23 22:40:00 GMT 2005
On 21/08/2005, at 7:59 AM, Dominique Dhumieres wrote:
> Summary of my understanding of the previous threads (starting on
> July, 26):
>
> MaxOS 10.3.* requires "ld .. . -lSystem -lmx"
> while MaxOS 10.4.* requires "ld ... -lmx -lSystem" (Unix way of life,
> isn't it?-).
>
> If the order is reversed, ld produces many warning about "multiple
> definitions of symbol xxx" or "... suggest use of -bind_at_load, ...".
The Darwin 'ld' doesn't work like that; although it does matter what
order you specify shared libraries in, a correct program needs to
work with all possible combinations, because there's no guarantee
that the linker won't happen to search them in a different order, or
at least that's what I understood.
I think you can suppress these warnings by using an appropriate 'ld'
flag, maybe -multiply_defined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2408 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050823/fea40da9/attachment.p7s>
More information about the Fortran
mailing list