Skip to content

Need a way to link against libcore #7

@mcoffin

Description

@mcoffin

There needs to be a decent way to link against libcore if we want to be able to write idiomatic Rust with this.

I have put (admittedly hacked) together a preliminary version in my master branch (currently mcoffin/dueboot@58bde74). Unfortunately, I stripped the whole build system in the process because I got frustrated. So, before we even THINK about merging it, we'll have to either update the new build system or convert the hack I used back over to the old one.

Basically, I build libcore for arm-unkown-linux-gnueabi, then rust will grab its metadata from libcore.rlib and then I recompile libcore, this time emitting llvm-ir, then compile and manually link the result with the main crate.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions