Re: Fedora and Cross Compiling

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

 



Oliver Falk wrote:

>>> True. But is cross compilation really as reliable as native compilation
>>> is? I'm not experienced with cross compilation... But I think some
>>> errors will only occur on *real native hardware*...
>> Cross toolchains are made like this: you use your normal host compiler,
>> for i386 say, to compile the gcc sources configured to emit target, say
>> ARM, code.  So you end up with an i386 executable compiler that emits
>> ARM code.
>>
>> 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.
> 
> Of course so far I understood the system already. :-)

I wrote it because you mentioned "real native hardware".  For testing
the resulting packages I completely agree, but for building them it
shouldn't matter.  If it does matter it's a problem with the compiler or
how the package is being built.

-Andy

-- 
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