From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GLRcMaIGN2K1HQAAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 11:49:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mPXKKaIGN2IfPwAAG6o9tA (envelope-from ) for ; Sun, 20 Mar 2022 11:49:06 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74CE228562 for ; Sun, 20 Mar 2022 11:49:06 +0100 (CET) Received: from localhost ([::1]:49164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVt7R-0002Ov-MU for larch@yhetil.org; Sun, 20 Mar 2022 06:49:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVt6T-0002On-QB for guix-devel@gnu.org; Sun, 20 Mar 2022 06:48:05 -0400 Received: from jpoiret.xyz ([206.189.101.64]:44468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVt6S-0000m9-53 for guix-devel@gnu.org; Sun, 20 Mar 2022 06:48:05 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id D76281851DF; Sun, 20 Mar 2022 10:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1647773280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5HIm05SB3qHaCw0STCEQmJngoKkW83GZI/F2QoVjIlw=; b=puKhduY92wS/bm3RDQdxjXGSAQMQczQvO78niaCzQwgeUoJ+dKmRJdy2CQv7hx8dkL8+iB /SeD07BDgoSTe7hptnkIoifVgZs7ze8cezvK7rRD/1TRau6HwqtIvVbt5t0UjP1zW7Typm iWxWsG/eGOEUgO7ZolN1gmNjzTgRGZIAEhzj4afq69klfIC1bykk8yRaOpblE6kJUNZUxG mGoHSve9Ix7DIFdXs+ajm1H97TOrJuFvXssCoqFcaT0DZLRYCPJOd/UNL9U+yJVcaC12Yv A+vykTe7S0AZUAJppwmBNmuDT/zGiYn4tPz8ar7ak0QNX73ONzh8IQx4jN1NUg== From: Josselin Poiret To: Zhu Zihao , Ryan Prior Cc: guix-devel@gnu.org Subject: Re: Guix as a system vs as an end-user dev tool (re: Building a software toolchain that works) In-Reply-To: <86sfrdxcwy.fsf@163.com> References: <86sfrdxcwy.fsf@163.com> Date: Sun, 20 Mar 2022 11:47:59 +0100 Message-ID: <87pmmgdhnk.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647773346; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5HIm05SB3qHaCw0STCEQmJngoKkW83GZI/F2QoVjIlw=; b=upZ8ynUT0CQfTjPuoaEXZV7clDeUe+96HdJH3NDO22MDeSf9wX4+ltGR2B68gobeAajuus T7CRBOvcMQxlEl+tGMgZY7FKh/qV1GZD877Bm5FT12G2SOqb3YXho4q24fOm2kPBiOZHdn QTVvOyvp7w6ZmX7Gc/3RM0+uOfv5IXZ4BsgBRqN4mNY1B4QsR1q/7wP8Zx2LSEwdDUYOKN 2cor8P7oI7ZBS2fKGPD9NzWTuCCKk6ga8JDFYf3/vfJDxmulThD8Q9ZZSG2GAMx+WBYyDm Fpo2YN4uGTC1AQ+lAtczku1W7Pmh4EI1Wsl1Rujo3aYzg0qBCTx3uUUJWNbpog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647773346; a=rsa-sha256; cv=none; b=hYKVtJFfDiYsfY68lM9ygxX2+EVNx7dNdoxxR4UX8pUcrS1SY0d/wGP6itrhfqnKuLAfRz zJjPcBdUzGgTUcpA6HUL/9n7hpEbAVQs7xc60dq+wJkDAVwZB+bThpBMfA1chGm7xjKels q7HHyDdt8y/qcX8tpzBTs6AwHerjJrofDx9hpF+JyBcoifn2y3i6ZXm/q9I51IydXD3pTg zfGPiHc+TfP7OOf5UPT+trm5b73Tq6zcillOG9GVCaiW4x6pNnRj7jgGUkLK3jBzXgX5OR TbNQ7qmNpo4LmCABxKFYFm+eopF/RKMlwCJcG63FXiatK+PqMXCVucp3bNa8bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=puKhduY9; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=puKhduY9; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 74CE228562 X-Spam-Score: -8.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: 37TGUMFf7lSJ Hello everyone, Just a small comment stemming from my time fiddling with Win32 API and friends. Zhu Zihao writes: > 2. There's no RUNPATH for Windows DLL, so all dynamic library > dependencies should in the same directory to allow Windows find it. There actually is an analogue for RUNPATH, because Windows applications often vendor DLLs, and need a way to manipulate where they are loaded from. You can get a similar result using assembly manifests, see [1]. [1] https://docs.microsoft.com/en-us/windows/win32/sbscs/assembly-manifests Best, -- Josselin Poiret