DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55CMVnka826246 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55CMVnka826246 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MVAFg2le X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1C233838973 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1749767507; bh=LmwtlfqRXyM1unxHaM0iJFK9WPSp1rw6U9fpq3+2vyo=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=MVAFg2le+81SGCTe+SyBZ+0xNwj/YpKByaboIYCnPv+bdVP3PnIWgj58TRqQicXuq BIvHNNZ/OQ0yXYaBBCMqDClw6rfhkkbiFs5r99mjPqsdxRm8sQB97OwZMWZKoCJvL+ o1ftg3I8uOUdu3nGF1vSolgKjtwC4hx6Ch+l07Q0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F4413850439 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3F4413850439 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749767440; cv=none; b=izYcIO4DhK/0t4+/Ps8eT5rx3hChS4maJlzYgFYP/rH1rwpV15vYmzuzYj0hS0YUB6/DmpzYFQJKeeiFC3YwHZ3su4PrwPvsqa7mRFKCh8TUmcRQSq+ORMlCTqj0QjrC98RKYtdksu9e8Uu25/UiNDcRhLnt3jAI68j45EAaHn0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749767440; c=relaxed/simple; bh=IT0lp2Xz9VTZDkvre/YvzlBdBfV1LiwNueYN8h6wE3c=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=HJL/QMvk3TYznXxqO1GVJBTWAn6d7S+Geli78TMLqjwj4pa6uUH4AnLP2l8xYlirTvvWlWYNJ4XgKInO02EO+IvfHolVVIyHSjRJxGe8DM5upISReww6W+gV81w5vauHjYm1UE6FBeBoZaXt7vKy1+BszKFKswJuwk7mgP6uCAM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F4413850439 Message-ID: <9faa5fa4-b43f-40b5-b758-2632cd854ac1@maxrnd.com> Date: Thu, 12 Jun 2025 15:30:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: D compiler package is incomplete To: cygwin AT cygwin DOT com References: <5230222 DOT upeRZZJTqa AT nimes> Content-Language: en-US In-Reply-To: <5230222.upeRZZJTqa@nimes> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 6/12/2025 1:28 PM, Bruno Haible via Cygwin wrote: > On Cygwin 3.6.3, I have the packages > gcc-core > gcc-g++ > gcc-gdc > installed, all in version 11.5.0-1. > > But the D compiler is dysfunctional: The attempt to compile any D source code > fails. E.g.: > > $ echo > empty.d > $ gdc -c empty.c > d21: error: cannot find source code for runtime library file 'object.d' > d21: note: dmd might not be correctly installed. Run 'dmd -man' for installation instructions. > d21: note: config file: not found > $ echo $? > 1 > > When I build GCC myself from source for other platforms, the D runtime > library is called 'libgphobos'. Without this library, both 'gdc' and 'd21' > are useless. From the release note for current gcc-g++ 12.4.0-3 at https://cygwin.com/pipermail/cygwin-announce/2024-July/011866.html: The D compiler had to be removed again since the runtime library still doesn't build on Cygwin, however it's become mandatory for bootstrapping the compiler. If you want to work on this you need to keep the gcc-11.5 version installed. I read that as: D is not functional with gcc 11.5, but you need 11.5 to work on making libgphobos buildable on Cygwin. An exercise for the reader, in other words. HTH, ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple