[m-rev.] diff: back out dll dependency list change
Peter Ross
peter.ross at miscrit.be
Wed Jul 18 22:09:33 AEST 2001
Fergus,
If you have any suggestions about how to do this properly, I would love
to hear them.
I have two choices:
* prune the module list so that it only contains modules which are
in the current directory (which I don't know how to do)
* modify the VPATH variable (which I am not sure is the correct
approach)
So any advice appreciated.
Pete
===================================================================
Estimated hours taken: 0.25
Branches: main
compiler/modules.m:
No longer write out the complete list of dlls which a foreign code
module depends on. This is because if any of those dlls reside in
another directory (ie mercury.dll) then the installed mmake can't
find it.
Index: modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.177
diff -u -r1.177 modules.m
--- modules.m 18 Jul 2001 10:59:04 -0000 1.177
+++ modules.m 18 Jul 2001 12:04:22 -0000
@@ -2074,8 +2074,13 @@
io__write_strings(DepStream, [
ForeignDllFileName, " : ", DllFileName]),
+ % XXX This change doesn't work correctly because
+ % mmake can't find the dlls which don't reside
+ % in the current directory.
+ /*
write_dll_dependencies_list(ModuleName,
AllDeps, DepStream),
+ */
io__nl(DepStream),
io__write_strings(DepStream, [
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list