March 23, 2005 Re: lib: Is there an append-or-create option? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | On Wed, 23 Mar 2005 18:23:50 +1100, Derek Parnell wrote: [snip] > So, how *do* I replace an existing module in a library? And using a response file? P.S. This is holding up some functionality in the Build utility. -- Derek Melbourne, Australia 24/03/2005 9:08:15 AM |
March 24, 2005 Re: lib: Is there an append-or-create option? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | Ok, I see your point. What I do (as you can see in the makefiles for Phobos) is just delete the library and recreate it. Also, to use a response file for the old syntax, include a blank line for the .lst file. |
March 24, 2005 Re: lib: Is there an append-or-create option? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | On Thu, 24 Mar 2005 01:10:27 -0800, Walter wrote: > Ok, I see your point. What I do (as you can see in the makefiles for Phobos) is just delete the library and recreate it. Also, to use a response file for the old syntax, include a blank line for the .lst file. I understand by this reply of yours that ... (a) The current version of 'lib' cannot replace modules in a library, and (b) You are not going to change that behaviour. Yes, I know I can always recreate a library and this is what Build currently does. However, I was going by the documentation for lib that replacing modules is possible, and I was trying to implement that in Build. I will no longer bother trying to do that, as the alternative method of deleting modules first, then running lib again to add them is not palatable. In fact, I'm not so sure that the delete functionality is working either. -- Derek Parnell Melbourne, Australia 24/03/2005 9:43:02 PM |
Copyright © 1999-2021 by the D Language Foundation