digitalmars.D.bugs - [Issue 1445] New: Add default library options to sc.ini / dmd.conf
- d-bugmail puremagic.com (26/26) Aug 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (10/10) Aug 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (5/5) Aug 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (10/10) Sep 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (12/12) Sep 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (10/10) Sep 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1445
- d-bugmail puremagic.com (20/20) Jun 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1445
http://d.puremagic.com/issues/show_bug.cgi?id=1445 Summary: Add default library options to sc.ini / dmd.conf Product: D Version: 1.018 Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: sean f4.ca It would be quite useful if the DMD configuration file provided a means of specifying the name of the default libraries to link based on the presence of "-release" on the command-line. In short, I'd like for something like this to happen: * Specify "phobos.lib" as the library to use for release builds and "phobos_d.lib" as the library to use for debug builds. * Command "dmd foo.d" links "phobos_d.lib" as specified in sc.ini * Command "dmd -release foo.d" links "phobos.lib" as specified in sc.ini If either of these fields are not set, the built-in default (phobos.lib or libphobos.a) will be used instead. This has the advantage of both simplifying the use of alternate runtime libraries and providing a means of linking a debug lib when doing so may be beneficial to the user. --
Aug 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 shro8822 vandals.uidaho.edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shro8822 vandals.uidaho.edu ------- Comment #1 from shro8822 vandals.uidaho.edu 2007-08-27 19:34 ------- along the same line, it would be vary nice to be able to select phobos vs. tango builds. Something like have a DMDLIB environment variable that picks a section out of the sc.ini file. --
Aug 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 ------- Comment #2 from bugzilla digitalmars.com 2007-08-30 14:29 ------- I'll do this as command line switches, which can be set via DFLAGS in sc.ini/dmd.conf. --
Aug 30 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #3 from davidl 126.com 2007-09-12 07:54 ------- some part of this proposal seems to duplicate with bug 987 *** This bug has been marked as a duplicate of 987 *** --
Sep 12 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Comment #4 from davidl 126.com 2007-09-12 07:58 ------- oh why not make the current -debuglib a little bit more advanced? I mean make the -debuglib work together with -debug version , different debug version uses different debuglib, and -g symbolic stuff should be also controllable with -debug version stuff, so the compiler debug system goes consistent --
Sep 12 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 davidl 126.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|DUPLICATE | ------- Comment #5 from davidl 126.com 2007-09-12 08:00 ------- sorry for the bad mouse clicking, reopen this issue for a little bit more enhancement --
Sep 12 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1445 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |braddr puremagic.com Resolution| |FIXED --- Comment #6 from Brad Roberts <braddr puremagic.com> 2009-06-07 23:48:22 PDT --- This was added back in versions 1.021 and 2.004: -debuglib=libname link in libname as the default library when compiling for symbolic debugging instead of libphobos2.a -defaultlib=libname link in libname as the default library when not compiling for symbolic debugging instead of libphobos2.a It's based off the -g option rather than the -release option, but.. close enough. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2009