Skip to content

Error building unix port on MacOS #4182

@rdlaner

Description

@rdlaner

I am attempting to build the unix port of on MacOS, but part way through the build I keep running into this error:

CC ../../lib/axtls/ssl/asn1.c
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
make: *** [build/lib/axtls/ssl/asn1.o] Error 1

When I took a look at the MakeFile, it appears that the build system uses Clang instead of GCC when building on a mac. From what I can tell, the "-Wno-unused-but-set-variable' option is not available with Clang.

Anyway of getting around this? I have GCC installed via homebrew if that is a possibility.

MacOS version: 10.13.6
MicroPython Master branch hash #: 4df1943

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy