Making cross compile easier

Hi,

Would you guys consider making cross compile easier on your roadmap?

The platform I tried to have it running was OpenWRT, which has its own
problems such as the libresolv is a stub in the most popular C library
choice uClibc, that is causing some troubles. What I mean is, even
without these problems, any cross compile would fail because of of the
use of bicfl.

Apparently somebody had gone through the painful process 10 years ago:
http://mailman.icsi.berkeley.edu/pipermail/bro/2005-July/001318.html

This fella has created a set of patches of CMake files for 2.3.1-2:
http://inspirated.com/2015/06/08/release-bro-2-3-1-2-on-openwrt

Which is hosted on this github page:
https://github.com/krkhan/openwrt-bro/tree/master/bro/patches

The build he created would fail because old versions are not being
hosted on your site, but more importantly the patches are obsolete as
of 2.4. Those patches are not huge, it would be great if you guys
would consider making it easier.

Thanks,
Cody

Would you guys consider making cross compile easier on your roadmap?

I think that’d be nice. We honestly haven’t ever gotten many requests for it, but conceptually it shouldn’t be hard to add and maintain support for.

Which is hosted on this github page:
https://github.com/krkhan/openwrt-bro/tree/master/bro/patches

Ah, great! I’ll file a ticket. I skimmed these patches and seem fairly unintrusive to the build system.

Thanks,
  .Seth

It would certainly be a nice to have that integrated, I have actually
heard that request a couple of times recently. One thing we need to
think about is regression testing, though, so that we don't break it
going forward.

Robin

Awesome!

Thanks,
Cody