Hi,

May I also share that now users can rely on

scons install

to install in standardized paths
(on gnu/unix/linux tizen etc)

Headers go into /usr/include/iotivity

(some are marked experimental:
https://wiki.iotivity.org/api )

Examples and dat files are also installed in:
/usr/lib/iotivity/

More can be installed, if needed,
and it would be nice to check
if those extra bits are still supported

On 14/12/17 23:46, Mats Wichmann wrote:
> 5. Cross-compiling doesn't really work. 

On yocto it works fine , but bitbake is setting the right env
before calling scons,
eventually we can also support more build systems
(ie: buildroot, scratchbox etc)

> You can build for a target
> which is not the same as the host under certain specific circumstances:
yea I recommend that too
> ...  It's currently better to get an ARM box that runs Linux
> and is vaguley capable, and do a Linux build so host==target, then you
> can move the binaries to a smaller box. A 2gb-RAM Odroid works pretty
> well; a 1gb Raspberry Pi takes the better part of a day which is pretty
> painful. 
Compiling on device is totally possible, even with limited RAM,
just add a swap file and it's will take a couple of hours

I've documented procedure for ARTIK but it can be applied to any other
device:
https://blogs.s-osg.org/building-iotivity-arm-artik-devices/

I can also share precompiled RC packages for fedora
(
with patches under review:
https://gerrit.iotivity.org/gerrit/#/q/status:open+project:iotivity+branch:1.3-rel+topic:next
)


> I'm not sure if this situation is actually a problem.  If
> people think it is, I can put it on the list to think about - 
An idea, maybe we can add a banner on wiki pages,
to invite users to report bugs on tracker about obsolete procedures
then priority will be set by projects managers.

Regards

-- 
mailto:philippe.co...@osg.samsung.com gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to