Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling fails when using precompiled library #100

Open
landret opened this issue Apr 19, 2021 · 2 comments
Open

Compiling fails when using precompiled library #100

landret opened this issue Apr 19, 2021 · 2 comments

Comments

@landret
Copy link
Contributor

landret commented Apr 19, 2021

Hi,
Compiling fails at linking when using a precompiled library .a for atmega4809 targets. The following message appears in the verbose:

"Using precompiled library in C:... (archive library path)
The plaform does not support 'compiler.libraries.ldflags' for precompiled libraries."

Looking at the verbose, the library path (-Lfolder -lname) is missing from the linking command line.

Is that a normal behavior and could this be solved?
Thanks

@facchinm
Copy link
Member

Hi @landret ,
precompiled libraries are not supported in this core yet. A patch like arduino/ArduinoCore-avr@bca2493 should be enough but needs extensive testing. Would you mind creating a PR? Thanks!

@landret
Copy link
Contributor Author

landret commented Apr 19, 2021

Hi @facchinm,
thanks for you quick answer. I successfully tested the patch with both Nano Every and Uno Wifi rev2. I will submit a PR for this patch.

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

No branches or pull requests

2 participants