Microchip is required to provide you with the sources to THEIR tools, so you shouldn't have to worry about getting the right versions. Download Microchip's gcc sources and build it, then use it in place of the student version. This is what the GPL is all about.
If you can't get the exact sources to the distributed Microchip gcc, then Microchip is not obeying gcc's license.
Didn't find your answer? Ask the community — no account required.
D
DJ Delorie
The version I have had gcc's own optimizations disabled. It was easy to turn them back on again.
S
Spehro Pefhany
AFAIUI, the optimizer has nothing to do with gcc, hence they are not obliged to provide the source.
Best regards, Spehro Pefhany
"it\'s the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
J
Jan Panteltje
On a sunny day (Mon, 17 Mar 2008 23:15:29 GMT) it happened snipped-for-privacy@puntnl.niks (Nico Coesel) wrote in :
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
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).
formatting link
Does this help?
N
Nico Coesel
Like I said: the version they offer is too old -they offer the sources-. Okay, software will compile but there are problems with handling long long (64 bits integers) and the syntax checking isn't strict enough to meet modern standards.
Programmeren in Almere?
E-mail naar nico@nctdevpuntnl (punt=.)
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=.)
J
JosephKK
I admit that i have not studied PIC in particular, but i am looking for almost any platform that has truly scaled over that range.
MIPS Nearly successful, but fell into disuse. Never was 8 bit SPARC came closer, still did not make it, never was 8 bit X86 almost works right, never really was 8 bit, has
64 bit now AVR maybe the closest? Was it ever 8 bit?
68K scaled from 16 to 32 bit, never was 8 bit HP-PARISC scaled from 16 to 64, never was 8 bit DSPs None were ever 8 bit, 12, 16, 24, and 32 bit (FP) DEC Alpha Started as 32/64 bit DG uNova Started as 32 bit, is gone now. NS32000 Started as 16 bit, hit 32 bit, is all but gone now SH* Seems to make the grade also, has some 64 bit.
65XXX 8 and 16 bit only many others 8 bit only many others 16 bit only
This list is surely partial at best.
Really?
Really?
Like why? If i need 32 bits it is not really a microcontroller any more. Besides i might like or have more experience with AVRs or SH2, SH3, SH4, SH5, and thus find them more convenient.
J
JosephKK
Maybe, the question is what do any of their tools have to do with GPL, LGPL, or other public licences?
D
DJ Delorie
Some of their tools are licensed under the GPL.
J
JosephKK
That could explain some of the PIC popularity, free tools. That is starting to become common, but GPL tools are not so common.
J
JosephKK
Amplifying, you do not get sales volumes in the billions on only hobbyist applications.
R
Rich Grise
Use a CPLD or FPGA with the VHDL or Verilog uP core of your choice. I like the6502 a lot. ;-)
Cheers! Rich
R
Rich Grise
On Sat, 15 Mar 2008 04:01:48 +0000, Jon Slaughter wrote: ...
If it works, why fix it? (notwithstanding bank switching is Evil.) ;-)
Cheers! Rich
J
Joel Koltner
I'm betting you're a man who programs in assembly!
(The 6502 is a pretty lousy target for a C compiler...)
K
krw
Dunno about Rich, but I am (VHDL and FPGAs too ;).
Speaking of the 8051...
Keith
R
Rich Grise
Absolutely! :-)
Well, true, but I like the orthogonality of its architecture, and its fairly "simple" instruction set. I made a dandy keyboard controller with "n-key" rollover out of one once.
Cheers! Rich
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.