<html>
<head>
<base href="http://bugzilla.gdcproject.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Parsing of dmd.conf is highly problematic"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=220">220</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Parsing of dmd.conf is highly problematic
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>development
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gdc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ibuclaw@gdcproject.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Marco.Leise@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>When compiling dmd-2.068 with gdc based on 4.8.5 and frontend 2.066 I
encountered a problem. The make file expects a D compiler with dmd interface,
so I used gdmd. It produced an error about phobos2 not being found. When I
looked into '-vdmd' I noticed it was picking up stuff that makes no sense. The
full command lines for idgen.d were:
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5/x86_64-pc-linux-gnu-gdc -I
/opt/dmd-2.071/import -c
/var/tmp/portage/dev-lang/dmd-2.068.2-r3/work/dmd2/src/dmd/idgen.d -o idgen.o
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5/x86_64-pc-linux-gnu-gdc -I
/opt/dmd-2.071/import idgen.o -Wl,--export-dynamic -defaultlib phobos2
-Wl,-L/opt/dmd-2.071/lib32 -Wl,-rpath -Wl,/opt/dmd-2.071/lib32
-Wl,-L/opt/dmd-2.071/lib32 -Wl,-rpath -Wl,/opt/dmd-2.071/lib32
-Wl,-L/opt/dmd-2.071/lib64 -Wl,-rpath -Wl,/opt/dmd-2.071/lib64 -o idgen
There was stuff from dmd-2.071's dmd.conf mixed in. The packages I maintain for
Gentoo carefully separate the eco systems for each compiler and front-end
version, so dmd.conf is a symlink and really only contains settings applicable
for the currently active dmd. Neither its imports nor the libraries are
compatible with GDC. On top of that dmd.conf may contain linker flags not
required by GDC or flags may have a different meaning between compiler
versions.
If a configuration file for gdmd is desired it should reside next to the script
(or some other version specific path), so they can differ for multiple
simultaneously installed GCCs.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>