On 13/01/18 10:53, [email protected] wrote:
Anyway comp already has the provision to specify extra compile args and extra link args, they just aren't documented.
https://github.com/machinekit/machinekit/blob/master/src/hal/utils/comp.g#L658

I submitted a patch for this before I joined Machinekit, but even Linuxcnc only documents the 'extra_link_args' option.
http://linuxcnc.org/docs/html/hal/comp.html#_options
Need to update our docs I suppose :)

OK, I have updated the docs (https://github.com/machinekit/machinekit-docs/pull/277)

Once the docs have been rebuilt, there are specific entries regards the options
and I have included an example to demonstrate the usage, which can be built and tested.

Note that they do however only apply to components built as 'option userspace yes'

For rt components you can use
EXTRA_CFLAGS="some-args" EXTRA_LDFLAGS="more-args" comp --compile nameofcomp.comp
as Charles previously noted

regards

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to