[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fedora and Cross Compiling
- From: Lennert Buytenhek <buytenh wantstofly org>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: Fedora and Cross Compiling
- Date: Tue, 12 Jun 2007 22:06:00 +0200
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]