digitalmars.D - Invert default for -op, use -nop
- Frank Benoit (8/8) Sep 01 2006 The dmd option -op makes dmd not to strip the object path when
- Derek Parnell (8/18) Sep 01 2006 Agreed. That is why "-op" is made the default in Build.
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.
Sep 01 2006
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
Sep 01 2006