From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e85Jr-0004Q9-9T for guix-patches@gnu.org; Fri, 27 Oct 2017 10:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e85Jm-0005R9-8v for guix-patches@gnu.org; Fri, 27 Oct 2017 10:09:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e85Jm-0005R0-4o for guix-patches@gnu.org; Fri, 27 Oct 2017 10:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e85Jl-0001uQ-SZ for guix-patches@gnu.org; Fri, 27 Oct 2017 10:09:01 -0400 Subject: [bug#27344] [PATCH v3 6/8] gnu: Add freehdl. Resent-Message-ID: References: <87lglnery8.fsf@foradis.org> <20170909175752.8566-1-theodoros@foradis.org> <20170909175752.8566-6-theodoros@foradis.org> <87sheqcd0w.fsf@gnu.org> <87lgkggv59.fsf@openmailbox.org> <878tgfsbj8.fsf@gnu.org> From: Theodoros Foradis In-reply-to: <878tgfsbj8.fsf@gnu.org> Date: Fri, 27 Oct 2017 17:07:54 +0300 Message-ID: <87tvyksmyt.fsf@foradis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27344@debbugs.gnu.org Hello Ludovic, Ludovic Courtès writes: > Just to be clear: does FreeHDL invoke the C compiler by itself, or is it > up to the user to compile the C code produced by FreeHDL? > > In the former case, FreeHDL should definitely keep a reference to the C > compiler; otherwise it wouldn’t work out-of-the-box. In the latter > case, it doesn’t have to keep a reference to the C compiler. As I told you in IRC, I thought that this was the case, because freehdl-v2cc, compiles to C. It turns out that there is a script (gvhdl), that invokes the C compiler on the output files, so I have created a patch to wrap with the correct environment variables, and also fix some issues on an extra script (freehdl-gennodes) that is written in guile. I reply with that patch, and also updated patches for qucs and qucs-s, so that we do not propagate gcc-toolchain. Thanks for your patience, -- Theodoros Foradis