[LinuxCNC/linuxcnc PR#7] halcompile – add extralib field to comp file

未分类 bolang 4个月前 (10-15) 24次浏览

Issue #7 | 状态: 已关闭 | 作者: ArcEye | 创建时间: 2014-11-09


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)

#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

option extralinkargs "-lm";


#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


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/7

喜欢 (0)