Added extralib field to comp file
Allows linking to custom libs and non-standard lib paths
with halcompile
For userspace components only, exits with error is used
with rt component
Signed-off-by: Mick Grant arceye@mgware.co.uk
评论 (3)
#2 – jepler 于 2014-11-14
(this in no way reflects negatively on your contribution; I hope you’ll consider offering more contributions in the future)
#3 – ArcEye 于 2014-11-14
jepler wrote:
”
While reviewing this pull request, I noticed that there was already an unfinished ability to do this, though with a different syntax and different limitations. I fixed it, and added a test and documentation. Starting in the next 2.6 release, you will be able to specify extra link-time arguments, such as additional libraries using the syntax
option extralinkargs “-lm”; “
That explains the presence of the extralinkargs. I searched high and low to see where they originated, as that was the obvious place to insert them, but could not find them.
Presumably python does not care and just creates a blank string which does nothing in the existing
(now superseded) version
#1 – jepler 于 2014-11-14
While reviewing this pull request, I noticed that there was already an unfinished ability to do this, though with a different syntax and different limitations. I fixed it, and added a test and documentation. Starting in the next 2.6 release, you will be able to specify extra link-time arguments, such as additional libraries using the syntax