D.gnu - [Bug 153] New: add option to list all libraries from pragma(lib,
- via D.gnu (34/34) Aug 18 2014 Date: Tue, 19 Aug 2014 05:15:37 +0100
Date: Tue, 19 Aug 2014 05:15:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" http://bugzilla.gdcproject.org/show_bug.cgi?id=153 Bug ID: 153 Summary: add option to list all libraries from pragma(lib, "...") Product: GDC Version: development Hardware: All OS: Linux Status: NEW Severity: enhancement Priority: Normal Component: gdc Assignee: ibuclaw gdcproject.org Reporter: ketmar ketmar.no-ip.org i fully understand that full support for pragma(lib) is nearly impossible. but can we at least add CLI flag that will instruct compiler to write all libraries from that pragma to some file during compilation? this way build tools can pass something like "-fwrite-pragma-lib-to=linklibssmth" and then invoke linker with -Wl, linklibssmth build tool can create this files for each compiled module and then pass 'em all to linker. this is far from full supporting of pragma(lib), but it at least will allow build tools to extract, cache and use that info without built-in (or external) D parser. and gdc should do it during 'real' compilation to avoid execing gdc second time just to obtain this info. we always can do 'gdc -c -o /dev/null' if we want only info w/o object files. -- You are receiving this mail because: You are watching all bug changes.
Aug 18 2014