Audit Cross Compile Support

clshotwe at rockwellcollins.com clshotwe at rockwellcollins.com
Fri Sep 20 15:18:52 UTC 2013


Lenny,

LC Bruzenak <lenny at magitekltd.com> wrote on 09/20/2013 8:36 AM:

> I tried to do a base cross compile but I ran into an issue when the
> table header files are generated, the executable generated by the
> makefile were built for the target and not the host.  I modified the
> makefile to build them for the host but I realized the executables
> would pull in the headers from the host rather than the target.  I
> attempted to work around this by porting the gen_tables.c 
> algorithm to
> a python script to duplicate the header file generation using the
> target headers rather than the host.  Is this a good approach?  Is
> there a better way that this could be done a better way 
> that does not
> use python?  Is this a desired feature?
> 
> 
> I use mock. It's pretty straightforward.

I don't believe mock will be able to execute the gen_tables executables 
that are built for the ARM/PPC.  I think the only way I could do that 
would be to setup a QEMU target and that seems a little excessive.

Thanks,
Clayton

Clayton Shotwell
Software Engineer
MS 137-157, 855 35th St NE, Cedar Rapids, IA, 52498-3161, US
Phone: 319-263-2385
clshotwe at rockwellcollins.com
www.rockwellcollins.com 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20130920/9de783a2/attachment.htm>


More information about the Linux-audit mailing list