This is the mail archive of the crossgcc@sources.redhat.com 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] |
Well, I'd certainly would like to use the newlib libraries to compile the applications for the embedded board. I fear that the glibc libraries will be too large or too complex, but I'm certainly willing to give it a try. If my reasoning is correct that I need libraries compiled for the i686-pc-cygwin environment to build the cross compiler, and as the cross compiler will be running on a high end machine, it would seem more correct to use the glibc libraries to build the cross compiler. That was what I was planning to do : build a cross compiler with the glibc libraries, then build my embedded applications with the newlib libraries. But according to the crossgcc faq of bill gatliff, this is not the way to do it. I already started up the crosstool with the demo-mipsel.sh to see the result (I can only check it tomorrow at work), but I fear it's not what I wanted because I saw some messages scrolling by with the host being something with linux-pc. I suppose I could make some changes to the sh scripts so it will work for the cygwin environment, but I was planning to look into that later. Thanks already for the reply. Harry Kaes. ----- Original Message ----- From: "Daniel Kegel" <dank@kegel.com> To: "Harry Kaes" <harry.kaes@tijd.com> Cc: <crossgcc@sources.redhat.com> Sent: Saturday, March 13, 2004 1:05 AM Subject: Re: cross compiler for mips under cygwin - building libraries > Harry Kaes wrote: > > I'm trying to build a cross compiler for the mips processors running under > > cygwin for a couple of days now. I did not succeed yet, but I'm getting > > closer as I'm gathering more information. The problem I'm dealing with now > > is which library I should use to compile the cross-compiler. I'm a bit > > confused about which library is needed for what! > > Apparently you need a library to build the cross compiler, which seems > > logical. In the crossgcc faq of bill gatliff a bootstrap gcc is build in > > order to build the libraries which are eventually needed to build the actual > > cross compiler. What confuses me is that you build the libraries with a > > cross compiler. I thought you would need a library compiled for the > > i686-pc-cygwin environment to be able to build the cross compiler as it will > > be running in that environment. I assume that if I build the libraries with > > the bootstrap cross compiler they are actually build for the mips processor, > > so how can they be used then to build a cross compiler which will be running > > on the i686. > > I'm using the gcc which is delivered with the cygwin environment to compile > > the cross compiler, and I thought that would be also the compiler to use to > > build the libraries which are needed to build the cross compiler. > > What libraries do you need? If it's glibc, then crosstool automates > everything for you... > - Dan > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |