From: Bernard L. <le...@bo...> - 2004-03-24 12:38:05
|
To compile the iPod kernel you need the arm cross compiler. This builds binaries for the ARM cpu. This is normally called arm-elf-gcc and lives in /usr/local/bin. On your pc/Mac you would have a native compiler (compiling to x86 or ppc). This is normally just call gcc and lives in /usr/bin. To build the kernel for the iPod you need the cross compiler. To build the boot loader you need both, the boot loader runs on the iPod but the patching program runs on the pc/Mac. When you install gcc under gento it will be a native compiler, gcc3.x in this case. This is fine. However you additionally need to install the arm cross compiler from the uClinux.org website. There is no way in gentoo (using portage) to build a cross compiler and in anycase you just don't need (or want!) to because there are special patches & versions required. So, just do a normal gentoo install, then when its done grab the arm-elf cross compiler from uclinux.org and install it and everything will be good. cheers, bern. Robert D <ro...@op...> said: > Bernard, > > Sorry, you kinda lost me there. I have compiled the bootloader and kernel on > gcc 2.9.x before, but now i am changing distro's from Debian to Gentoo and i > was wondering if GCC 3.3 (iirc) would work for compiling all the stuff. > > According to Jeff it should, do you agree? > > Thanks, > Robert D > > ----- Original Message ----- > From: "Bernard Leach" <le...@bo...> > To: "Robert D" <ro...@op...> > Cc: <ipo...@li...> > Sent: Wednesday, March 24, 2004 7:50 PM > Subject: Re: [Ipodlinux-devel] Will compiling with any GCC version work?? > > > > > > Hi Robert, > > > > The gcc3 that comes with gentoo will only compile stuff for your PC/mac. > For > > the iPod you will need to install the arm-elf-gcc cross compiler. Just > get > > the version for the uclinux.org website and install that (it just goes in > > /usr/local so there is minimal pollution of your system). > > > > This cross compiler is 2.95+arm+(?uclinux?) patches plus some specific > version > > of binutils. Trying to do it yourself is simply not worth the pain. > > > > For Mac there was a version for download but it seems to have again become > > unaccessible behind some login/password. Does anyone have a copy of the > > MacOSX toolchain that was at; > > > > <http://www.klingler.net/download/arm-linux.pkg.sit> > > > > I'd like to put it up on sf.net so that it won't disappear anymore! > > > > cheers, > > bern. > > > > Robert D <ro...@op...> said: > > > > > > Hey, > > > > > > I am about to properly install gentoo and everything on my system, the > > > question i have is whether the kernel for the ipod will compile on gcc3 > (i > > think > > > gentoo comes with gcc3) or if i am going to have problems. > > > > > > Thanks a heap, > > > Robzy > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IBM Linux Tutorials > > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > > GenToo technologies. Learn everything from fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > _______________________________________________ > > > iPodlinux-devel mailing list > > > iPo...@li... > > > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > > > > > > > > > > > -- > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > -- |