Re: Fedora and Cross Compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 08, 2007 at 10:21:56AM +0100, Andy Green wrote:

> Native compilers would be built on an ARM box or emulation creating an
> ARM executable compiler that emits ARM code.  But in both cases, the
> compiler is coming from the same gcc sources.
> 
> In either case, if you give it some C to compile, it should emit the
> same ARM object file, one happens to emit that ARM object code with a
> compiler that is built from i386 instructions itself and another does it
> with the same compiler built from ARM instructions itself.  In this way
> "real native hardware" has absolutely *nothing* to do with it.

I don't think that a cross-compiler always generates the very
same binary code (e.g. I've been told that you can't always
pre-compute constant floating point operations on the compiling
host as you would on the target), but cross-compiling _should_
produce functionally identical code.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux