Lenny,
LC Bruzenak <lenny@magitekltd.com> wrote on
09/20/2013 10:35:52 AM:
> I wonder how koji does it?
>
> I see an ARM build there:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=439098
> Oh. There are different build hosts supporting
different arches.
That is correct. When you cross compile, the
host and target are set differently. For instance, I get
checking build system type... x86_64-unknown-linux-gnu
checking host system type... armv7hl-redhat-linux-gnu
checking target system type... armv7hl-redhat-linux-gnu
instead of
checking build system type... armv7hl-redhat-linux-gnu
checking host system type... armv7hl-redhat-linux-gnu
checking target system type... armv7hl-redhat-linux-gnu
I will not be able to run the ARM built executabled
on the x86_64 machine. I have attempted to modify the makefiles to build
the gen_tables executables for the x86_64 architecture but I realized that
will cause the wrong header files to be brought in. Even if I was
able to get the correct header files brought in, they will not have the
correct macros defined, possibly causing the wrong values to be brought
into the header files.
Thanks,
Clayton
Clayton Shotwell
Software Engineer
clshotwe@rockwellcollins.com
www.rockwellcollins.com