[Nix-dev] GCC Cross Compiler Version

Angelo Bulfone mbulfone at gmail.com
Wed Jun 14 20:32:54 CEST 2017


I eventually solved my problem and realized that I ended up with a
reimplementation of gccCrossStageStatic.

On Wed, Jun 14, 2017 at 11:31 AM John Ericson <john_ericson at alumni.brown.edu>
wrote:

> You need to edit gccCrossStageStatic so gcc7, and not gcc is being
> overridden
>
> On Mon, Jun 12, 2017 at 1:56 PM, Angelo Bulfone <mbulfone at gmail.com>
> wrote:
> > Hello,
> >
> > I'm trying to make a nix expression to build bare metal cross compilers
> for
> > operating system development, but I would like to use a target that is
> only
> > available with GCC7. I was able to build a cross compiler with
> > gccCrossStageStatic, but that's restricted to GCC5.
> > The closest I've gotten has been using wrapCCCross with gcc = pkgs.gcc7,
> but
> > then it complains about attribute 'langCC' missing, which appears to be
> an
> > argument to gcc, but is not stored in the set.
> > Does anyone know the best way to make a bare metal cross compiler for a
> > specific gcc version and target?
> >
> > Thank you for any assistance.
> > Angelo
> >
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > https://mailman.science.uu.nl/mailman/listinfo/nix-dev
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170614/52ab5efb/attachment-0001.html>


More information about the nix-dev mailing list