From: Eugenio J. <ej...@ma...> - 2003-12-15 02:18:34
|
Hi, I have managed to build the gcc-2.95.3 based cross-compiler toolchain & kernel including patches from scratch on Mac OS X a while ago. Since I'm working on OSX and thus on a PPC machine (and not Intel/x86 & Linux), this was a fun & interesting process. Another thing about this is, since I don't have a x86 box w/ firewire (nor own a copy of windoze), I can't easily format my iPod as a windows iPod w/ a MSDOS FS, so I've been trying to get HFS+ support working as well ; this has been a bit tougher than I originally expected since the patch I've been working with ( from http://www.ardistech.com/hfsplus/ ; based on the work from http://sf.net/projects/linux-hfsplus ) doesn't work on linux-2.4.20 (regardless what their page says ;-) ; there were significant changes between linux-2.4.20 & linux-2.4.21, which I've been trying to deal with and fix. I've put up a sort of mini-HOWTO / script to download & build all the bits from scratch on OSX (but it should be more or less applicable for people on other platforms), and a current binary toolchain on http://homepage.mac.com/ej0/ipodlinux/ (note - I have not run any tests to verify the toolchain ; so it's possible there are bugs in it...) Hopefully this should get more ppl hacking on this, especially on Mac OS X & HFS+ support ;-) I'll write up my linux-2.4.21 / HFS+ experiences / progress soon... -ej On Dec 14, 2003, at 3:36 PM, David Piasecki wrote: > I tried following the instructions on > http://www.ukos.ch/site/ef_cross.html, but I ran into an error when > compiling gcc-3.3. It could be because I didn't know what $target and > $prefix to give it. I did the following to configure... > > ../../../gcc-3.3/configure --target=arm-elf > --prefix=/usr/local/cross/builds/arm/gcc-3.3 -v --with-newlib > --with-gnu-as --with-gnu-ld > > If someone has any suggestions as to how I might successfully compile > it, if it works, I'll send you a binary. > > Dave > > > On Dec 14, 2003, at 3:23 PM, > ipo...@li... wrote: >> >> Hi Jeff, >> >> Did you just use those instructions or were there any other >> tips&tricks >> needed to get things going? >> >> Perhaps somewith with a Mac and faster net connection could put >> togeter >> a binary package so we could put it up on sf? Any takers? >> >> cheers, >> bern. >> >> On Fri, 2003-12-12 at 21:53, One...@ao... wrote: >>> I have the Mac OS X binary arm tool chain before you had to pay for >>> the free GNU package, if necessary I can upload it however I have a >>> 56k modem so I would like to avoid that if possible :) >>> >>> I also found this helpful link if anyone here is trying to compile >>> the >>> arm chain tools for OS X >>> http://www.ukos.ch/site/ef_cross.html >>> >>> Cheers >>> Jeff N. >> >> Good morning, >> >> I simply used the binary for the arm toolchain which a link was >> provided for >> on sf. I still have this file. Those instructions are for Mac OS 10.2 >> so I >> don't believe people will have any trouble compiling it under 10.3 >> and such. >> >> Jeff N. |