Summary: | add option to list all libraries from pragma(lib, "...") | ||
---|---|---|---|
Product: | GDC | Reporter: | Ketmar Dark <ketmar> |
Component: | gdc | Assignee: | Iain Buclaw <ibuclaw> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | ketmar |
Priority: | --- | ||
Version: | development | ||
Hardware: | All | ||
OS: | Linux | ||
Attachments: |
quick-and-dirty hack that adds option -fwrite-pragma-libs=
new quick-and-dirty patch |
Description
Ketmar Dark
2014-08-19 05:15:38 CEST
Created attachment 75 [details]
quick-and-dirty hack that adds option -fwrite-pragma-libs=
i attached a very quick and dirty hack that implements my proposal. my own build system already uses it, and i'm really happy. ;-)
p.s. seems that this should go to DMD bugtracker (as it touches frontend too), but i'm pretty sure that it will be rejected. ;-) This can be done instead in the backend, so that is OK. (Bonus points, no need for a frontend global.option flag either) Created attachment 76 [details]
new quick-and-dirty patch
oh, yes, i'm soooo stupid. here is new patch which touches only backend. additionally, it emits more informative warning if there is no "-fwrite-pragma-libs=" option and no warning at all if the option is given.
|