* glibc based toolchain for mips
@ 2005-06-24 22:14 Prashant Viswanathan
2005-06-24 22:39 ` Andy Isaacson
2005-06-26 10:22 ` TheNop
0 siblings, 2 replies; 15+ messages in thread
From: Prashant Viswanathan @ 2005-06-24 22:14 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Hi,
Is it possible to get a free/open glibc based toolchain for MIPS? Buildroot
and ucLibc based toolchain seems to work well, but I really need a glibc
based toolchain. Though I can use the SDE from MIPS technologies to build
the kernel, I can't seem to use it as a toolchain to compile my own
applications.
Thanks
Prashant
[-- Attachment #2: Type: text/html, Size: 3950 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:14 glibc based toolchain for mips Prashant Viswanathan
@ 2005-06-24 22:39 ` Andy Isaacson
2005-06-24 22:47 ` rolf liu
2005-06-26 10:22 ` TheNop
1 sibling, 1 reply; 15+ messages in thread
From: Andy Isaacson @ 2005-06-24 22:39 UTC (permalink / raw)
To: Prashant Viswanathan; +Cc: linux-mips
On Fri, Jun 24, 2005 at 03:14:49PM -0700, Prashant Viswanathan wrote:
> Is it possible to get a free/open glibc based toolchain for MIPS? Buildroot
> and ucLibc based toolchain seems to work well, but I really need a glibc
> based toolchain. Though I can use the SDE from MIPS technologies to build
> the kernel, I can't seem to use it as a toolchain to compile my own
> applications.
Debian provides a complete native toolchain with glibc, which I've used
with great success. (You will need to do a nfsroot or nbd-root if you
don't have local storage.)
-andy
^ permalink raw reply [flat|nested] 15+ messages in thread
* RE: glibc based toolchain for mips
@ 2005-06-24 22:42 Prashant Viswanathan
2005-06-25 3:31 ` Kumba
0 siblings, 1 reply; 15+ messages in thread
From: Prashant Viswanathan @ 2005-06-24 22:42 UTC (permalink / raw)
To: 'Andy Isaacson', Prashant Viswanathan; +Cc: linux-mips
> On Fri, Jun 24, 2005 at 03:14:49PM -0700, Prashant Viswanathan wrote:
> > Is it possible to get a free/open glibc based toolchain for MIPS?
> Buildroot
> > and ucLibc based toolchain seems to work well, but I really need a glibc
> > based toolchain. Though I can use the SDE from MIPS technologies to
> build
> > the kernel, I can't seem to use it as a toolchain to compile my own
> > applications.
>
> Debian provides a complete native toolchain with glibc, which I've used
> with great success. (You will need to do a nfsroot or nbd-root if you
> don't have local storage.)
>
Thanks. But what I am really looking for is to cross-compile on a Linux i386
host. I think the SDE from MIPS can be customized to do this. But I am not
sure on how to proceed. Perhaps somebody can point me in the right
direction...
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:39 ` Andy Isaacson
@ 2005-06-24 22:47 ` rolf liu
2005-06-24 23:10 ` Andy Isaacson
2005-06-25 0:23 ` Wolfgang Denk
0 siblings, 2 replies; 15+ messages in thread
From: rolf liu @ 2005-06-24 22:47 UTC (permalink / raw)
To: Andy Isaacson; +Cc: Prashant Viswanathan, linux-mips
That one Debian provides is for big endian. Is there one tool chain
for mips little endian and also gcc 3.*.* ?
On 6/24/05, Andy Isaacson <adi@hexapodia.org> wrote:
> On Fri, Jun 24, 2005 at 03:14:49PM -0700, Prashant Viswanathan wrote:
> > Is it possible to get a free/open glibc based toolchain for MIPS? Buildroot
> > and ucLibc based toolchain seems to work well, but I really need a glibc
> > based toolchain. Though I can use the SDE from MIPS technologies to build
> > the kernel, I can't seem to use it as a toolchain to compile my own
> > applications.
>
> Debian provides a complete native toolchain with glibc, which I've used
> with great success. (You will need to do a nfsroot or nbd-root if you
> don't have local storage.)
>
> -andy
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:47 ` rolf liu
@ 2005-06-24 23:10 ` Andy Isaacson
2005-06-24 23:35 ` rolf liu
2005-06-25 0:23 ` Wolfgang Denk
1 sibling, 1 reply; 15+ messages in thread
From: Andy Isaacson @ 2005-06-24 23:10 UTC (permalink / raw)
To: rolf liu; +Cc: Prashant Viswanathan, linux-mips
On Fri, Jun 24, 2005 at 03:47:30PM -0700, rolf liu wrote:
> That one Debian provides is for big endian. Is there one tool chain
> for mips little endian and also gcc 3.*.* ?
Debian has a BE "mips" port and a LE "mipsel" port. They should both
work (though I've only used the BE version myself) and are routinely
tested... in fact AFAIK the package build machines are self-hosting.
-andy
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 23:10 ` Andy Isaacson
@ 2005-06-24 23:35 ` rolf liu
2005-06-24 23:57 ` Andy Isaacson
0 siblings, 1 reply; 15+ messages in thread
From: rolf liu @ 2005-06-24 23:35 UTC (permalink / raw)
To: Andy Isaacson; +Cc: Prashant Viswanathan, linux-mips
Could you give me a link to the mipsle cross tool chain? I can only
find the BE cross tool chain.
On 6/24/05, Andy Isaacson <adi@hexapodia.org> wrote:
> On Fri, Jun 24, 2005 at 03:47:30PM -0700, rolf liu wrote:
> > That one Debian provides is for big endian. Is there one tool chain
> > for mips little endian and also gcc 3.*.* ?
>
> Debian has a BE "mips" port and a LE "mipsel" port. They should both
> work (though I've only used the BE version myself) and are routinely
> tested... in fact AFAIK the package build machines are self-hosting.
>
> -andy
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 23:35 ` rolf liu
@ 2005-06-24 23:57 ` Andy Isaacson
0 siblings, 0 replies; 15+ messages in thread
From: Andy Isaacson @ 2005-06-24 23:57 UTC (permalink / raw)
To: rolf liu; +Cc: Prashant Viswanathan, linux-mips
On Fri, Jun 24, 2005 at 04:35:25PM -0700, rolf liu wrote:
> Could you give me a link to the mipsle cross tool chain? I can only
> find the BE cross tool chain.
I'm sorry, I was referring to the *native* mipsel port, not a
crosscompiler. I didn't even know that Debian was providing a BE cross
toolchain. (What's that link, btw? It could be useful to me.)
-andy
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:47 ` rolf liu
2005-06-24 23:10 ` Andy Isaacson
@ 2005-06-25 0:23 ` Wolfgang Denk
2005-06-30 22:58 ` rolf liu
1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Denk @ 2005-06-25 0:23 UTC (permalink / raw)
To: rolf liu; +Cc: Andy Isaacson, Prashant Viswanathan, linux-mips
In message <2db32b7205062415471d0fe4c0@mail.gmail.com> you wrote:
> That one Debian provides is for big endian. Is there one tool chain
> for mips little endian and also gcc 3.*.* ?
The mips_4KCle packages in the ELDK are for mips little endian; we
use 3.3.3; see http://www.denx.de/ELDK.html
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Einstein argued that there must be simplified explanations of nature,
because God is not capricious or arbitrary. No such faith comforts
the software engineer. - Fred Brooks, Jr.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:42 Prashant Viswanathan
@ 2005-06-25 3:31 ` Kumba
2005-06-26 8:05 ` Geert Uytterhoeven
0 siblings, 1 reply; 15+ messages in thread
From: Kumba @ 2005-06-25 3:31 UTC (permalink / raw)
To: Prashant Viswanathan; +Cc: linux-mips
Prashant Viswanathan wrote:
>
> Thanks. But what I am really looking for is to cross-compile on a Linux i386
> host. I think the SDE from MIPS can be customized to do this. But I am not
> sure on how to proceed. Perhaps somebody can point me in the right
> direction...
If you have an x86 box running Gentoo, there's the `sys-devel/crossdev` package
for generating a wide variety of cross-compilers. If you're running another
distribution, you'll want to check out Dan Kegel's `crosstool` package at:
http://kegel.com/crosstool/
--Kumba
--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees
"Such is oft the course of deeds that move the wheels of the world: small hands
do them because they must, while the eyes of the great are elsewhere." --Elrond
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-25 3:31 ` Kumba
@ 2005-06-26 8:05 ` Geert Uytterhoeven
0 siblings, 0 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2005-06-26 8:05 UTC (permalink / raw)
To: Kumba; +Cc: Prashant Viswanathan, Linux/MIPS Development
On Fri, 24 Jun 2005, Kumba wrote:
> Prashant Viswanathan wrote:
> > Thanks. But what I am really looking for is to cross-compile on a Linux i386
> > host. I think the SDE from MIPS can be customized to do this. But I am not
> > sure on how to proceed. Perhaps somebody can point me in the right
> > direction...
>
> If you have an x86 box running Gentoo, there's the `sys-devel/crossdev`
> package for generating a wide variety of cross-compilers. If you're running
> another distribution, you'll want to check out Dan Kegel's `crosstool` package
> at: http://kegel.com/crosstool/
And if you're using Debian, apt-get install toolchain-source. But this is
limited to one version, right now gcc 3.4.3 and binutils 2.15. If you need a
different version, fall back to crosstool.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-24 22:14 glibc based toolchain for mips Prashant Viswanathan
2005-06-24 22:39 ` Andy Isaacson
@ 2005-06-26 10:22 ` TheNop
1 sibling, 0 replies; 15+ messages in thread
From: TheNop @ 2005-06-26 10:22 UTC (permalink / raw)
To: linux-mips; +Cc: Prashant Viswanathan
Hi Prashant,
please take a look at
http://kegel.com/crosstool/
Best regards
TheNop
Prashant Viswanathan schrieb:
> Hi,
>
>
>
> Is it possible to get a free/open glibc based toolchain for MIPS?
> Buildroot and ucLibc based toolchain seems to work well, but I really
> need a glibc based toolchain. Though I can use the SDE from MIPS
> technologies to build the kernel, I can't seem to use it as a
> toolchain to compile my own applications.
>
>
>
> Thanks
>
> Prashant
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-25 0:23 ` Wolfgang Denk
@ 2005-06-30 22:58 ` rolf liu
2005-07-01 23:00 ` Wolfgang Denk
0 siblings, 1 reply; 15+ messages in thread
From: rolf liu @ 2005-06-30 22:58 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: Andy Isaacson, Prashant Viswanathan, linux-mips
Hi, Wolfgang,
I download the package. after installation, the 4KCle is still
linking to the mips-linux-, which is big-endian.
thanks
On 6/24/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <2db32b7205062415471d0fe4c0@mail.gmail.com> you wrote:
> > That one Debian provides is for big endian. Is there one tool chain
> > for mips little endian and also gcc 3.*.* ?
>
> The mips_4KCle packages in the ELDK are for mips little endian; we
> use 3.3.3; see http://www.denx.de/ELDK.html
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> Einstein argued that there must be simplified explanations of nature,
> because God is not capricious or arbitrary. No such faith comforts
> the software engineer. - Fred Brooks, Jr.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-06-30 22:58 ` rolf liu
@ 2005-07-01 23:00 ` Wolfgang Denk
2005-07-01 23:09 ` rolf liu
0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Denk @ 2005-07-01 23:00 UTC (permalink / raw)
To: rolf liu; +Cc: linux-mips
In message <2db32b72050630155831582cd7@mail.gmail.com> you wrote:
>
> I download the package. after installation, the 4KCle is still
> linking to the mips-linux-, which is big-endian.
Please explain exactly what you did.
We have kernel, all libraries and apps running in this environment,
and if I check it looks very much like little endinan, for example:
$ file /opt/eldk/mips_4KCle/bin/bash
/opt/eldk/3.1.1/mips_4KCle/bin/bash: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
versus
$ file /opt/eldk/mips_4KC/bin/bash
/opt/eldk/3.1.1/mips_4KC/bin/bash: ELF 32-bit MSB executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
CONSUMER NOTICE: Because of the "Uncertainty Principle," It Is
Impossible for the Consumer to Find Out at the Same Time Both
Precisely Where This Product Is and How Fast It Is Moving.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-07-01 23:00 ` Wolfgang Denk
@ 2005-07-01 23:09 ` rolf liu
2005-07-02 15:39 ` Wolfgang Denk
0 siblings, 1 reply; 15+ messages in thread
From: rolf liu @ 2005-07-01 23:09 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linux-mips
Sorry I didn't say it clearly.
The files in /opt/eldk/mips_4KCle are in little endian mips, for sure.
What I want is a cross-development tools for i386-to-mipsel, including
the corss gcc, binutils, other libs. I couldn't find such tools :(
thanks
On 7/1/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <2db32b72050630155831582cd7@mail.gmail.com> you wrote:
> >
> > I download the package. after installation, the 4KCle is still
> > linking to the mips-linux-, which is big-endian.
>
> Please explain exactly what you did.
>
> We have kernel, all libraries and apps running in this environment,
> and if I check it looks very much like little endinan, for example:
>
> $ file /opt/eldk/mips_4KCle/bin/bash
> /opt/eldk/3.1.1/mips_4KCle/bin/bash: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
>
> versus
>
> $ file /opt/eldk/mips_4KC/bin/bash
> /opt/eldk/3.1.1/mips_4KC/bin/bash: ELF 32-bit MSB executable, MIPS, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> CONSUMER NOTICE: Because of the "Uncertainty Principle," It Is
> Impossible for the Consumer to Find Out at the Same Time Both
> Precisely Where This Product Is and How Fast It Is Moving.
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: glibc based toolchain for mips
2005-07-01 23:09 ` rolf liu
@ 2005-07-02 15:39 ` Wolfgang Denk
0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Denk @ 2005-07-02 15:39 UTC (permalink / raw)
To: rolf liu; +Cc: linux-mips
In message <2db32b7205070116091240fcf4@mail.gmail.com> you wrote:
>
> The files in /opt/eldk/mips_4KCle are in little endian mips, for sure.=20
> What I want is a cross-development tools for i386-to-mipsel, including
> the corss gcc, binutils, other libs. I couldn't find such tools :(
Please read the documentation. You will find these tools in the
/opt/eldk/bin resp. /opt/eldk/usr/bin directories.
The README.html (or the DULG at http://www.denx.de/twiki/bin/view/DULG/Manual)
documents in detail what needs to be done to install and use the tools.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The sight of death frightens them [Earthers].
-- Kras the Klingon, "Friday's Child", stardate 3497.2
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-07-02 15:41 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-24 22:14 glibc based toolchain for mips Prashant Viswanathan
2005-06-24 22:39 ` Andy Isaacson
2005-06-24 22:47 ` rolf liu
2005-06-24 23:10 ` Andy Isaacson
2005-06-24 23:35 ` rolf liu
2005-06-24 23:57 ` Andy Isaacson
2005-06-25 0:23 ` Wolfgang Denk
2005-06-30 22:58 ` rolf liu
2005-07-01 23:00 ` Wolfgang Denk
2005-07-01 23:09 ` rolf liu
2005-07-02 15:39 ` Wolfgang Denk
2005-06-26 10:22 ` TheNop
-- strict thread matches above, loose matches on Subject: below --
2005-06-24 22:42 Prashant Viswanathan
2005-06-25 3:31 ` Kumba
2005-06-26 8:05 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox