hi andy,

Am 01.02.19 um 12:22 schrieb andy pugh:
> But it I try to compile inside the RT-system for userspace,
>> this is the resulting error.
>> ---------------------------------
>> halcompile --compile --userspace hal/drivers/hal_parport.c
>>
> Is that the unmodified hal_parport?

yes - for the compile-tests I used unmodified source from 2.7.14

and the errormessage from "halcompile" is not reached.

but your explanation makes it a little bit more clear.

thx!

wicki


> "--userspace" means that the HAL component runs standalone as a normal
> userspace application, rather than exporting functions that can be added to
> a realtime thread.
> It isn't the same as a component that runs in POSIX realtime (is the
> "uspace" version of LinuxCNC realtime.
> So, realtime components that export functions will not compile with
> --userspace. There is a warning about that in halcompile, but it appears
> that things fail before that point.
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/utils/halcompile.g#L995



_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to