Skip to content

Moving towards a more traditional sysroot from emcc #9353

Closed
@sbc100

Description

@sbc100

Today we have a kind of sysroot in the form of emscripten/system. It contains the following sub directories:

  • lib
  • bin
  • include
  • local/include

emcc uses include and local/include as default include paths, but it doesn't use lib as a library path. Indeed lib currently contains the source code to the libraries and the libraries end up ~/.emscripten_cache.

In the future I'd like to see this act more like a traditional sysroot with target libraries, includes and binaries all living there.

For emsdk users we could pre-populate this directory with ports and system libs.

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