Skip to content

Use precompiled .a library #4336

Closed
Closed
@NicoHood

Description

@NicoHood

I try to add a precompiled .a library to my sketch. However it does not use the .a file laying inside a libraries folder.

This is an important feature, since you can compile optimized functions with a makefile and include those later. In my case I wanted to use this library:
http://munacl.cryptojedi.org/atmega.shtml

It could later also make sense to add a more complex USB-Core like LUFA.
.o files would also be nice.

I think we already have .S support, hex export and .a linkage, so why not also add precompiled .a files as feature? I guess I somehow need to add a platform.txt file or so, if anyone can help, please do so. Thanks!

Edit: 5 years earlier:
https://code.google.com/p/arduino/issues/detail?id=199 (#199)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CompilationRelated to compilation of Arduino sketchesarduino-builderThe tool used to handle the Arduino sketch compilation processfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions