Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]
On Apr 11, 2005 4:55 AM, Francois <f.taiani@computer.org> wrote:
> Hi all,
>
> On Sun, 2005-04-10 at 06:57, Charles Lepple wrote:
> > On Apr 10, 2005 5:07 PM, Michael <michael_six@users.sourceforge.net> wrote:
> > > Just sticking in my two cents on this one. When you say Xcode and
> > > Darwin on your G5 I am assuming you mean Pather (OS 10.3) and in my
> > > experience I have also found that The Mac OS X's (more so in Jaguar than
> > > Panther), are incomplete as far as Darwin. Some files needed to compile
> > > certain things just aren't there. For instance Jaguar does not contain
> > > a poll.h for one, so that error on not being able to find sys.h might
> > > not be your not having installed XCode right.
> >
> > I would guess that this holds true in general, but it really shouldn't
> > be applicable to cross-compiling a Linux kernel under OS X (or
> > Darwin).
>
> I was not really cross compiling between two different architectures
> there, as I was compiling on a G5 (Darwin) for my G5 (Linux).
I hate to sound like I'm just being pedantic, but as far as GCC is
concerned, it's a cross-compiler. If I build a kernel for my G4 cube
(Linux) on my PowerBook (Darwin), I can't simply use the Xcode version
of GCC because it will create Mach-O binaries instead of ELF
executables.
> My description was incomplete: the compilation of a linux kernel starts
> by compiling some helper programs.
Right, I forgot about that.
--
- Charles Lepple
Reply to: