LWN.net Logo

gcc ports

gcc ports

Posted Sep 27, 2007 18:29 UTC (Thu) by iabervon (subscriber, #722)
In reply to: gcc ports by JoeBuck
Parent article: MadWifi developers move to ath5k

A lot of microcontrollers embedded in existing devices use architectures that GCC doesn't support. A lot of them actually use an architecture that's been around for 27 years and has never gotten a GCC port: the 8051. GCC also doesn't support PIC microcontrollers. Then there are FPGA-based systems, which need an entirely different firmware design. In fact, most embedded platforms that GCC targets will have embedded flash, meaning that firmware wouldn't be part of drivers anyway; the hardware would come with a version installed, and any changes would be released by the vendor as a download that users can install at their leisure.


(Log in to post comments)

gcc ports

Posted Sep 27, 2007 19:38 UTC (Thu) by zlynx (subscriber, #2285) [Link]

Many of these microcontrollers really are micro. When a programmer only has a few KB of instruction space, he does not want to write code in C. Assembly is the only way to go, and it isn't so bad.

You know the saying that C is portable assembly. Well, a good assembler makes it as easy to write as C, it just isn't portable.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds