September 01, 2006 Invert default for -op, use -nop | ||||
---|---|---|---|---|
| ||||
The dmd option -op makes dmd not to strip the object path when generating the object file. The default is to strip it. This can lead to problems if one object file is overwritten from another. E.g. you have to modules with the name 'mod.d' in different directories/packages. I think it would be better if the default chooses the way which does not make problems. I know I can configure it in dmd.cfg. But this means, first I have to trip into this pitfall. |
September 01, 2006 Re: Invert default for -op, use -nop | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | On Fri, 01 Sep 2006 09:08:26 +0200, Frank Benoit wrote: > The dmd option -op makes dmd not to strip the object path when generating the object file. The default is to strip it. > > This can lead to problems if one object file is overwritten from another. E.g. you have to modules with the name 'mod.d' in different directories/packages. > > I think it would be better if the default chooses the way which does not make problems. I know I can configure it in dmd.cfg. But this means, first I have to trip into this pitfall. Agreed. That is why "-op" is made the default in Build. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 1/09/2006 5:23:27 PM |
Copyright © 1999-2021 by the D Language Foundation