Re: uC selection



Jan Panteltje <pNaonStpealmtje@xxxxxxxxx> wrote:

On a sunny day (Mon, 17 Mar 2008 23:15:29 GMT) it happened nico@xxxxxxxxxxx
(Nico Coesel) wrote in <47def992.869256114@xxxxxxxxxxxxxx>:

DJ Delorie <dj@xxxxxxxxxxx> wrote:


nico@xxxxxxxxxxx (Nico Coesel) writes:
Free and student versions are crippled on purpose (not all
optimisation options available).

So? Download the sources and build yourself an uncrippled version.

That is not so easy because MIPS is not the most common architecture.
I'm working on getting GCC 4.1.2 + Glibc + binutils compiled for MIPS
using crosstool but there are some problems with getting the right
versions together and using the proper settings.


I downloaded the Linux sources for the Linksys routers from their site,
it includes a working gcc for MIPS, I'v compiled the whole thing and wrote some MIPS
apps too, al seems to work just fine.

My Makefile looks like this (for making a kernel module):
TARGET := mmc
WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes -fno-strict-aliasing -mips32

INCLUDE := -isystem /mnt/hdd4/linksys/WAP54Gv3_3_05_03_EN_GPL/release/src/linux/linux/include

CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE} -fno-pic -mno-abicalls -mlong-calls

CC := /opt/brcm/hndtools-mipsel-linux-3.2.3/mipsel-linux/bin/gcc

Note the definition of CC
You can download the stuff from the Linksys site (big).
http://www-au.linksys.com/servlet/Satellite?c=L_Content_C1&childpagename=AU%2FLayout&cid=1134692345999&pagename=Linksys%2FCommon%2FVisitorWrapper

Does this help?

Not really :-) I tried to use crosstool but I found out this is not a
tool to rely on for modern GCC compilers. I'm now trying
emdebian-tools from emdebian.org. Which seems to work! The reason I
want to get it compiled is because I'm trying to use gcc + glibc for
an embedded device without FPU together with buildroot.

--
Programmeren in Almere?
E-mail naar nico@nctdevpuntnl (punt=.)
.



Relevant Pages

  • Re: uC selection
    ... Download the sources and build yourself an uncrippled version. ... That is not so easy because MIPS is not the most common architecture. ... I'm working on getting GCC 4.1.2 + Glibc + binutils compiled for MIPS ... Microchip is required to provide you with the sources to THEIR tools, ...
    (sci.electronics.design)
  • Re: uC selection
    ... optimisation options available). ... Download the sources and build yourself an uncrippled version. ... That is not so easy because MIPS is not the most common architecture. ... I'm working on getting GCC 4.1.2 + Glibc + binutils compiled for MIPS ...
    (sci.electronics.design)
  • Re: uC selection
    ... Download the sources and build yourself an uncrippled version. ... That is not so easy because MIPS is not the most common architecture. ... I'm working on getting GCC 4.1.2 + Glibc + binutils compiled for MIPS ... Microchip is required to provide you with the sources to THEIR tools, ...
    (sci.electronics.design)
  • Re: A good compiler
    ... Lcc is a valid choice as much as gcc or MS VC 2005 E..... ... ALL of which he can download for FREE and try out. ... It is also OK if he decided to go for one of the 6000 USD compilers too. ...
    (comp.lang.c)
  • Re: Do SUNs compilers work on SchilliX?
    ... SchilliX is less than 300 MB total from what I recall from ... > actually download in a long time. ... > compilers from SUN and use them on ... I'm sick of the GCC ...
    (comp.unix.solaris)