Lenny,
LC Bruzenak <lenny(a)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(a)rockwellcollins.com
www.rockwellcollins.com