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] |
--- On Mon, 4/13/09, Acharya Partha <partha_acharya@yahoo.com> wrote: > From: Acharya Partha <partha_acharya@yahoo.com> > Subject: Re: Latest arm-unknown-linux-gnu toolchain with linux 2.4 > To: "soumyaroop roy" <sroy@cse.usf.edu> > Date: Monday, April 13, 2009, 7:23 AM > Soumya > > According to my understanding you can try with out the > kernel header ( with? ? ? --newlib option ) > till gcc- first stage. Before libc stage you can include the > kernel headers and finally second stage gcc without C++ > support. > > let me? know if this resolves your problem. > > Regards > Partha > > --- On Sun, 4/12/09, soumyaroop roy <sroy@cse.usf.edu> > wrote: > > > From: soumyaroop roy <sroy@cse.usf.edu> > > Subject: Re: Latest arm-unknown-linux-gnu toolchain > with linux 2.4 > > To: "Acharya Partha" <partha_acharya@yahoo.com> > > Date: Sunday, April 12, 2009, 6:09 PM > > Also, I need support only for the C > > language. > > > > Thank you for you help. > > > > regards, > > Soumyaroop. > > > > On Sun, Apr 12, 2009 at 9:05 PM, soumyaroop roy <sroy@cse.usf.edu> > > wrote: > > > Hello Acharya, > > > > > > My intention is to build a toolchain to create > > executables on an > > > architectural simulator, Simplescalar-ARM > > > (http://www.simplescalar.com/v4test.html). > > > > > > I am trying to build the toolchain with the > following > > components > > > (using crosstool-ng): > > > 1. linux kernel 2.4.0 > > > 2. binutils 2.17 > > > 3. gcc 4.2.1 > > > 4. glibc 2.5 > > > > > > Other features > > > 1. I need to build only static libraries since > > simplescalar performs > > > emulation of the system calls. > > > 2. I do not need support for threads. > > > > > > Problems: > > > 1. When building with no thread support, it kept > on > > failing while > > > compiling assert.c saying that it could not > locate a > > 'pthread.h'. So, > > > I enabled 'linuxthreads' and that fixed the > problem. > > > > > > 2. Next, when not building shared libraries, it > does > > not build > > > 'libgcc_eh.a' and the build step 'libc' (i.e. > building > > of glibc) > > > fails. I read in forums that 'libgcc_eh.a' is > built > > when building > > > shared libraries. I tried building shared > libraries > > too but now it is > > > again failing while building libc (while > creating > > 'libc.so') giving > > > the message that there are undefined references > to > > 'MAX', > > > '__tls_get_addr'. > > > > > > regards, > > > Soumyaroop. > > > > > > > > > On Sun, Apr 12, 2009 at 12:49 PM, Acharya Partha > > > <partha_acharya@yahoo.com> > > wrote: > > >> > > >> Soumya > > >> > > >> It is possible provided you are using a > small > > patch for the kernel header , also glibc and binutils > should > > be the latest. > > >> > > >> Please try with that , let me know the error > you > > face. > > >> > > >> Regards > > >> Partha > > >> > > >> > > >> --- On Fri, 4/10/09, soumyaroop roy <sroy@cse.usf.edu> > > wrote: > > >> > > >>> From: soumyaroop roy <sroy@cse.usf.edu> > > >>> Subject: Latest arm-unknown-linux-gnu > > toolchain with linux 2.4 > > >>> To: crossgcc@sourceware.org > > >>> Date: Friday, April 10, 2009, 8:02 AM > > >>> Hello there, > > >>> > > >>> Is it possible to construct an > > arm-unknown-linux-gnu > > >>> toolchain with > > >>> linux 2.4 headers and a fairly new GCC > release > > (> 4.2)? > > >>> If yes, what > > >>> versions of binutils and glibc should be > > used? > > >>> > > >>> regards, > > >>> Soumyaroop. > > >>> > > >>> -- > > >>> Soumyaroop Roy > > >>> Ph.D. Candidate > > >>> Department of Computer Science and > > Engineering > > >>> University of South Florida, Tampa > > >>> http://www.csee.usf.edu/~sroy > > >>> > > >>> -- > > >>> For unsubscribe information see http://sourceware.org/lists.html#faq > > >>> > > >>> > > >> > > >> > > >> > > >> > > > > > > > > > > > > -- > > > Soumyaroop Roy > > > Ph.D. Candidate > > > Department of Computer Science and Engineering > > > University of South Florida, Tampa > > > http://www.csee.usf.edu/~sroy > > > > > > > > > > > -- > > Soumyaroop Roy > > Ph.D. Candidate > > Department of Computer Science and Engineering > > University of South Florida, Tampa > > http://www.csee.usf.edu/~sroy > > > > > ? ? ? > -- 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] |