[dmd-internals] The proposed -Xcc dmd option would be quite useful for PLplot for the -pthread case

Mike Franklin slavo5150 at yahoo.com
Thu Sep 26 05:45:34 UTC 2019


 Johan,
Yes, users opting into the option with `-preview=noXlinker` will need to fully opt into it.  So it will be best for them to just add `-preview=noXlinker` and other adjustments to their dmd.conf file.
The reason I chose not to implement `-Xcc` is because we have too many ways of doing the same thing. The code is becoming difficult to learn and maintain as we try to carry forward the design decisions of the past indefinitely.  I'm sure you and others will disagree, but I think it is best to invest with the hope that someday we can delete legacy code, not continue to add to it.
Mike

    On Thursday, September 26, 2019, 2:39:16 PM GMT+9, Johan Engelen via dmd-internals <dmd-internals at puremagic.com> wrote:  
 
 On Thu, Sep 26, 2019 at 4:13 AM Alan W. Irwin via dmd-internals <dmd-internals at puremagic.com> wrote:


I spoke too soon (sigh) about this new -preview=noXlinker option
actually working, see <https://issues.dlang.org/show_bug.cgi?id=20244>.


Reading that bug report, it appears to me that this is not a simple "preview" option: dmd.conf may need adjustment and thus the user cannot simply switch between the option being on or off. Why not implement LDC's -Xcc as well?
-Johan

 _______________________________________________
dmd-internals mailing list
dmd-internals at puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20190926/ee53726d/attachment-0001.htm>


More information about the dmd-internals mailing list