RE: MSVC compiler support [patch 11]: CRUFT.DLL exported symbols
From:
michael . goffioul
Subject:
RE: MSVC compiler support [patch 11]: CRUFT.DLL exported symbols
Date:
Thu, 26 Oct 2006 16:30:11 +0200
> With this rule, it appears that an extra entry will be added to the > cruft.def file each time a file is compiled (it can happen more than > once if the object files are removed, or if the source file is > touched). Is that a problem? Perhaps we should instead create as > separate def file for each source file and then collect them all at > the end? Also, I don't see any rule to remove the cruft.def file.
See attached patch for another proposal. It creates a .def file for each fortran file and concatenates everything at the end. The dependency on cruft.def is only active when the canonical host type contains msdosmsvc (this could also be moved to configure script by putting a @...@ tag for libraries dependencies).