This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no joy with 20050723 gcc-4.1 snapshot



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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]