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

Re: debian2.2r2 on powerbook G4



On Mon, Mar 05, 2001 at 08:43:40PM -0800, Alan DuBoff wrote:
> Peter Cordes wrote:
> 
> >  That's totally bogus.  Nothing depends on the hardware of the computer the
> > kernel is compiled on.  With a cross-compiler, you should be able to use a
> > fast PPC to compile a kernel on an old x86 laptop.
> 
> This was not meant to imply that you couldn't compile a kernel on the Pismo
> for the Titanium, however, I haven't done any or seen any testing.  I've seen
> mixed results of ppc linux running on the G4. So, I certainly wouldn't commit
> to code being able to run on the Titanium, since it has a different chip.
> Latest report is that it runs fine, but I don't know if that is for the 400mhz
> or 500mhz or just what. They should be the same, but there could be some
> timing issues arise, I don't know.

 GCC does the same thing no matter what host you run it on.  With the same
input, (which will be the case if you make your .config the same), gcc will
give you identical output when run on any machine at all, as long as it is
configured for the same target.  In this (two powermacs), it would be.  You
would get an identical kernel if you built it on the other machine.

 The question is whether the generated binary works right on the Titanium.
Generating it on the Titanium won't change anything.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@llama.nslug. , ns.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE



Reply to: