RE: Cross-compile package combinations
From: Ashwin Bihari <hidden>
Date: 2003-12-16 19:07:48
I do have a another question, though. Let's say that I want to use my own kernel instead of having crosstool download it. What would be the proper set of steps to take to specify a local kernel? My current kernel is 2.4.20 and I know that the combination of gcc and glibc that I want to use with crosstool specifies 2.4.21. I'll probably work on bumping my kernel up. Aron
The way I did this was to use crosstool to just create the cross-compiler for me. From there I took it upon myself to install it in the appropriate directory and then compile the kernel I wanted. That proved to be easy enough for me. ~Ashwin
From: Silverton Aron-C1710C <redacted> To: "'Beena'" <redacted>, "'Dan Kegel'" <redacted> CC: "'Ashwin Bihari'" <redacted>, "'listmember@orkun.us'" [off-list ref], "'linuxppc-embedded@lists.linuxppc.org'" [off-list ref] Subject: RE: Cross-compile package combinations Date: Tue, 16 Dec 2003 12:53:40 -0600 I also had success using crosstool. Thanks to all those who gave me tips both on the list and via email. Beena <mailto:beena@gdatech.com> wrote:quoted
I used crosstool and was able to effortlessly install gcc 3.3.2, glibc 2.3.2 for powerpc. Thanks a lot for your suggestion. -Beena -----Original Message----- From: Dan Kegel [mailto:<redacted>] Sent: Thursday, December 11, 2003 8:26 PM To: Beena Cc: Silverton Aron-C1710C; 'Ashwin Bihari'; <redacted>; linuxppc-embedded@lists.linuxppc.org Subject: Re: Cross-compile package combinations Beena wrote:quoted
I have observed the same errors when trying to build the bootstrap gcc 3.2.3. I understand that this is because gcc 3.2.3 build (in case of powerpc) looks for some glibc files. So I first built gcc 2.95.3, then glibc 2.2.1 and then built bootstrap gcc 3.2.2(you could try with 3.2.3) and it compiled fine.One of the reasons I did crosstool was to avoid that kind of hackery. With crosstool, you don't need to build gcc 2.95.3 just to build gcc 3.2.3. Crosstool does clean builds from pristine, minimally patched source. - Dan
_________________________________________________________________ Cell phone �switch� rules are taking effect � find out more here. http://special.msn.com/msnbc/consumeradvocate.armx ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/