Subject: Re: [PATCH v4 2/3] gnu: Add qucs.

From: Theodoros Foradis <[email-masked]>
Date: Fri, 27 Oct 2017 19:20:51 +0300

Ludovic Courtès writes:

> Theodoros Foradis <[email-masked]> skribis:
>
>> * gnu/packages/engineering.scm (qucs): New variable.
>
> [...]
>
>> +               (wrap-program (string-append out "/bin/qucs")
>> +                 `("CPLUS_INCLUDE_PATH" ":" prefix
>> +                   (,(string-append (assoc-ref inputs "gcc-toolchain")
>> +                                    "/include")))
>> +                 `("PATH" ":" prefix
>> +                   (,(string-append (assoc-ref inputs "gcc-toolchain")
>> +                                    "/bin")))
>> +                 `("LIBRARY_PATH" ":" prefix
>> +                   (,(string-append (assoc-ref inputs "gcc-toolchain")
>> +                                    "/lib")))
>
> Is this still needed now that freehdl wraps things?
>
> If not, could you send an updated patch?

Yes, it's needed because qucs and qucs-s don't use gvhdl (freehdl's
script that we wrap that calls the compiler).

They use freehdl-v2cc to compile to C, and have their own scripts to
compile to executable.

-- 
Theodoros Foradis