Skip to content

Fix lm32 makefile include paths #2

Description

@shenki

The current makefile links with ld directly, but depends on libc from GCC. To be able to link we hardcode the path to the libc.a:

LIBS = -L/opt/lm32/lm32-elf/lib -lc -L/opt/lm32/lib/gcc/lm32-elf/6.3.0 -lgcc

We depend on libc for setjmp, longjmp. As we don't need libgcc, we could drop the second part of this to not depend on the path of a specific GCC version.

However, we would prefer to use GCC to link.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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