[Bro-Dev] Fail to configure CXX when cross compiling

jinho hwang hwang.jinho at gmail.com
Sun Feb 7 15:00:07 PST 2016


On Sun, Feb 7, 2016 at 12:01 PM, Robin Sommer <robin at icir.org> wrote:

> Please file a bug report with our tracker, looks like something we
> should fix.
>
> Robin
>
> On Wed, Feb 03, 2016 at 23:39 -0500, you wrote:
>
> > Hi,
> >
> > I just started looking at Bro source. When configuring the build with
> > cross-compiler, I set CXX=<cross compiler>, but the build tree did not
> set
> > correctly. It just used c++ in my local OS. CC=<cross compiler> works
> well,
> > though. What I did was
> >
> > CC=<cross compiler> CXX=<cross compiler> ./configure
> >
> > However, the build summary shows CC: <cross-compiler> and CXX:
> /usr/bin/c++
> > (this is wrong). Do you have any idea where I should put my cross
> compiler?
> >
> > thanks,
>
> > _______________________________________________
> > bro-dev mailing list
> > bro-dev at bro.org
> > http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
>
>
>
> --
> Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin
>

It turned out to be my mistake that I did not distclean after I changed the
build configuration. The bigger problem is that when I cross-compile the
source tree, it actually runs bifcl command in the building host (where
compiling is done) with broker-dummy/store.bif.. However, the build is done
using target platform, which is different from the building host. I am not
very familiar with bro yet.. so I am not sure what this actually does.. can
you please help me to understand the process or provide documents if any.
Regardless, I will keep looking.

thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20160207/47f48192/attachment.html 


More information about the bro-dev mailing list