Re: Linking mixed language objects under windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Velten wrote:
Okay .. found the problem myself: mingw wants the -lgfortran to appear after the file in the argument so this

gcc -o hw hw.o -lgfortran

works.

This is typical of linkers used with gcc. If there are no unsatisfied references at the point where a static library is searched, nothing will be copied from it.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux