Re: uC selection
- From: nico@xxxxxxxxxxx (Nico Coesel)
- Date: Tue, 18 Mar 2008 20:07:09 GMT
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=.)
.
- References:
- uC selection
- From: Jon Slaughter
- Re: uC selection
- From: Jon Slaughter
- Re: uC selection
- From: David L. Jones
- Re: uC selection
- From: Nico Coesel
- Re: uC selection
- From: DJ Delorie
- Re: uC selection
- From: Nico Coesel
- Re: uC selection
- From: Jan Panteltje
- uC selection
- Prev by Date: Re: For all the group
- Next by Date: Re: Build your own Over Unity Motor
- Previous by thread: Re: uC selection
- Next by thread: Re: uC selection
- Index(es):
Relevant Pages
|