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

Re: Fedora and Cross Compiling



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


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