This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Gr8 :) --- On Thu, 1/22/09, Jacky Lam <jackylam.gsl@gmail.com> wrote: > From: Jacky Lam <jackylam.gsl@gmail.com> > Subject: Re: Build tips for arm cross toolchain > To: > Cc: crossgcc@sourceware.org > Date: Thursday, January 22, 2009, 10:39 PM > Dear all, > > I have successfully built the toolchain by crosstool-ng. > (A really > great tool. Although I still don't who to make > it.....:() > > I plan to add CYGWIN host to this tool. Any advice before > I start? > > Thanks. > > BR, > Jacky > > > Jacky Lam ??: > > Acharya Partha ??: > >> Jacky > >> > >> use the following options for glibc headers > installation : > >> > >> --target= ? --build=? --prefix=? > --with-headers=(header's path ) > >> --enable-hacker-mode --enable-kernel=2.6.0 > >> you may add --with-tls and --cache-file option > also. > >> > >> Let me know this resolve your problem. > >> > >> Regards > >> Partha > >> > > > > Here are the options I used: > > ../../glibc-2.6.1/configure --prefix=/usr > > --host=arm-unknown-linux-gnueabi > > > --enable-add-ons=nptl,glibc-ports-2.6.1,glibc-libidn-2.6.1 > > --with-headers=/home/jacky/toolchain/rfs/usr/include/ > --with-tls > > --enable-kernel=2.6.0 --enable-hacker-mode > > > > And make by: > > make cross-compiling=yes > install_root=/home/jacky/toolchain/rfs > > install-headers > > > > But still have the error: > > > > In file included from <stdin>:1: > > > glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h:29:3: > error: > > #error Kernel headers are too old > > > > BR, > > Jacky > >> > >> > >> > >> > >> > >> --- On Thu, 1/22/09, Jacky Lam > <jackylam.gsl@gmail.com> wrote: > >> > >>> From: Jacky Lam <jackylam.gsl@gmail.com> > >>> Subject: Re: Build tips for arm cross > toolchain > >>> To: partha_acharya@yahoo.com > >>> Cc: crossgcc@sourceware.org > >>> Date: Thursday, January 22, 2009, 12:16 AM > >>> Acharya Partha ??: > >>>> Jack > >>>> > >>>> For initial idea you can refer to the > following sites > >>> : > >>>> > >>> > http://www.kegel.com/crosstool/current/doc/crosstool-howto.html > >>>> > >>> > http://www.linuxfromscratch.org/clfs/view/1.0.0/mips64/cross-tools/binutils.html > >>> > >>>> The process is quite similar for both mips > and ARM > >>> target , let me know if this help you. > >>> Thanks. I am stopping at generating glibc > headers for > >>> compiling gcc > >>> stage1. Maybe it is because I am generating > EABI toolchain. > >>> It complains > >>> about my kernel is too old. (But my host PC > and kernel > >>> header for the > >>> tool chain is already 2.6.23 and 2.6.26 > respectively) > >>> > >>> Do you have any idea? > >>> > >>> BTW, my final goal is to build a cygwin > toolchain. I can > >>> see there will > >>> be more challenging :(. If there is any > information about > >>> that, it will > >>> be much thanks. > >>> > >>> I don't mind to test and collect all > information into > >>> a document so > >>> that life will be easier for people who want > to do the same > >>> thing. > >>> > >>> Thanks again. > >>> > >>> BR, > >>> Jacky > >>>> Regards > >>>> Partha Acharya > >>>> > >>>> --- On Wed, 1/21/09, Jacky Lam > >>> <jackylam.gsl@gmail.com> wrote: > >>>>> From: Jacky Lam > <jackylam.gsl@gmail.com> > >>>>> Subject: Build tips for arm cross > toolchain > >>>>> To: crossgcc@sourceware.org > >>>>> Date: Wednesday, January 21, 2009, > 1:06 AM > >>>>> Dear all, > >>>>> > >>>>> I have some problem to build a ARM > cross toolchain > >>> (gcc > >>>>> 4.2.2, binutils > >>>>> 2.18, glibc 2.6.1). Is there any > detail guide step > >>> by step > >>>>> for that? > >>>>> > >>>>> Thanks. > >>>>> > >>>>> BR, > >>>>> Jacky > >>>>> > >>>>> -- > >>>>> For unsubscribe information see > >>>>> http://sourceware.org/lists.html#faq > >>>> > >>>> > >>>> > >>>> > >>>> > >> > >> > >> > >> > >> > > > > > > -- > For unsubscribe information see > http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |