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
PIO cuts .a
when -l:
option used
#3574
Comments
It looks like SCons is not aware of this syntax, so it might be a good idea to raise an issue in their repository. |
@valeros i don't know, i use c/cpp for hobby only - almost no experience. |
I'm not sure that we can fix this issue. We use SCons as a build system. @puzrin what is a reason that you can't use |
See https://github.com/puzrin/reflow_micro/tree/master/hal/stm32g473rc_usb_pd/stm32cube It's auto-generated by CubeMX (usb pd middleware driver). I keep hal in separate folder, and don't touch there anything by hand. This simplifies maintenance when something should be changed. PS. I don't use built-in hal because need more fresh and more complete version with mw. |
I'd suggest to remove |
Please file an issue at https://github.com/SCons/scons/issues and make reference to this issue. Thanks! |
@ivankravets you asked about official docs of
Cold you do it yourself? I don't know how to explain that problem is on their side & create a minimal sample. |
We don't manipulate with library names or strip them. Please file an issue at https://github.com/SCons/scons/issues. |
Configuration
Operating system: Ubuntu 18.04LTS
PlatformIO Version (
platformio --version
): 4.4.0a3Description of problem
If i need to link library without
lib
prefix, via-l:
option, i have to type double.a.a
at the name end:Reference: https://community.platformio.org/t/failing-to-link-external-library/14544/3?u=vit
Steps to Reproduce
Actual Results
Have to add one more
.a
to library name:-l:USBPDCORE_PD3_CONFIG_1_CM4_wc32.a.a
Expected Results
Expect to use full name, as recommended at SO:
The text was updated successfully, but these errors were encountered: