digitalmars.D - including dmd's response.c in gdc
- Nils =?UTF-8?B?Qm/Dn3VuZw==?= (10/19) Jan 18 2013 I'm trying to bring @cmdfile functionality to gdmd. I looked at ldc's ld...
- Nils =?UTF-8?B?Qm/Dn3VuZw==?= (1/1) Jan 19 2013 Hello? Is this thing on?
- Walter Bright (3/4) Jan 19 2013 Unfortunately, it'll have to be rewritten to be GPL. I don't control the...
- Nils =?UTF-8?B?Qm/Dn3VuZw==?= (2/4) Jan 19 2013 Too bad. That means, ldc should get rid of it, too; doesn't it?
- David Nadlinger (26/31) Jan 19 2013 Sorry for not responding earlier, but I haven't really been
- Walter Bright (2/8) Jan 19 2013 Yes, you can do that.
I'm trying to bring cmdfile functionality to gdmd. I looked at ldc's ldmd, and they simply use dmd's root/response.c. Could I just include it in gdc, too? response.c itself says:* This source file is made available for personal use * only. The license is in backendlicense.txt * For any other uses, please contact Digital Mars.And backendlicense.txt says:The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistributionlicense,please contact Digital Mars.Doesn't look compatible with GPL to me. Could Digital Mars grant rights to redistribute it under GPL? Then again, no other files in root are licensed that way, most say:// License for redistribution is by either the Artistic License // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details.Has response.c simply been overlooked?
Jan 18 2013
Hello? Is this thing on?
Jan 19 2013
On 1/19/2013 1:31 PM, Nils Boßung wrote:Hello? Is this thing on?Unfortunately, it'll have to be rewritten to be GPL. I don't control the Symantec license.
Jan 19 2013
Walter Bright wrote:Unfortunately, it'll have to be rewritten to be GPL. I don't control the Symantec license.Too bad. That means, ldc should get rid of it, too; doesn't it?
Jan 19 2013
On Saturday, 19 January 2013 at 22:51:45 UTC, Nils Boßung wrote:Walter Bright wrote:Sorry for not responding earlier, but I haven't really been following the newsgroups lately as I'm swamped in university work. Yes, this is a major problem indeed. A while ago, I rewrote LDMD to use as much of the DMD command line parsing code as possible for maximum compatibility. Among the issues that lead to this were specifically a few reports of the LLVM response file parsing code handling some corner cases/quoting issues slightly differently than the DMD one. So, back then, I just copied the response_expand declaration from mars.c and assumed that the code would be okay to use, since response.c is in root/. The file was already glob-included in our build as part of root/, so I didn't have to look at it at all. So, three questions: 1) What is the best way to handle the situation from an LDC perspective? Pull the last release immediately and temporarily fall back to the LLVM response file parser in Git master? Or, Walter, could you grant us (resp. the LDC team/me) the right to redistribute the file until we have a proper solution? Distro packages would be another problem? 2) Could somebody read the source and document the quirks of the parser in painstaking detail, so that somebody else can do a clean room implementation? 3) Could we maybe move the file out of root/, as all the other files in there are under the front-end Artistic/GPL dual license? DavidUnfortunately, it'll have to be rewritten to be GPL. I don't control the Symantec license.Too bad. That means, ldc should get rid of it, too; doesn't it?
Jan 19 2013
On 1/19/2013 4:55 PM, David Nadlinger wrote:So, three questions: 1) What is the best way to handle the situation from an LDC perspective? Pull the last release immediately and temporarily fall back to the LLVM response file parser in Git master? Or, Walter, could you grant us (resp. the LDC team/me) the right to redistribute the file until we have a proper solution? Distro packages would be another problem?Yes, you can do that.
Jan 19 2013