Re: Building clang with gcc-toolchain@11

2022-03-07 Thread Greg Hogan
On Mon, Mar 7, 2022 at 5:18 AM Ludovic Courtès wrote: > The ‘clang’ definition reads: > > ;; Use a sane default include directory. > (string-append "-DC_INCLUDE_DIRS=" > (assoc-ref %build-inputs "libc") > "/include"

Re: Building clang with gcc-toolchain@11

2022-03-07 Thread Ludovic Courtès
Hi, Greg Hogan skribis: > I'd like to instead use the latest gcc-toolchain (currently gcc-toolchain@11) > and have clang-toolchain built with that gcc-toolchain. No matter what > I offer in the "--with-c-toolchain" or "--with-input" options I always see > the following error regarding '(assoc-re