> On Dec 26, 2014, at 1:56 AM, [email protected] wrote:
> 
> hello!
> I want to port traffic server to arm-linux.  I compiled it within buildroot 
> on x86 computer.

To the best of my knowledge, no-one has ever worked on supporting 
cross-compilation for Traffic Server.

> I got a error "./CompileParseRules: ./CompileParseRules: cannot execute 
> binary file".  
> I read the Makefile.am and kown that the  CompileParseRules was compiled by 
> arm-linux-gcc.

Yeh, this file should be compiled by $HOSTCXX. I did a bit of google research 
on how automake supports this, and the answer seems to be "not very well". I 
think that you are better off finding an ARM host to build on.

> I have two questions:
>  
>  1, How can I compile CompileParseRules by x86 gcc, and finish building 
> trafficserver ?
>  2. What is the usefulness of python and perl,  used in compiling or running 
> trafficserver ?
>  
>  attachments are the Config and mk file used by buildroot.
>                               Best Wishes!
>  
> [email protected]

Attachment: Config.in
Description: Binary data

Attachment: trafficserver.mk
Description: Binary data

> 

Reply via email to