ELLCC Multi-Target Cross Compiler Based on Clang and LLVM Compiler Infrastructure

ELLCC is a project aiming at creating a multi-target cross compilation environment for embedded systems. which makes use of Clang and the LLVM compiler infrastructure. QEMU is used for cross-platform testing. The project goals are to implement the following key features: A functional C/C++ compiler based on Clang (ecc) Multi-target support: ARM, i386, Microblaze, Mips, Nios2, PowerPC, PowerPC64, Sparc and X86_64 Multi-OS support: Linux, Standalone, … A complete test environment that allows automatic unit and integration testing of the run-time environment and complete executables. Support of a wide variety of target processors from armv4 to armv7, several mips cores, i386, and more. The project is still being developed, and ELLCC is in a pre-release state. ELLCC is composed of the following components: ecc – The ELLCC C/C++ compiler,  a single executable with gcc compatible options. binutils – The GNU binutils package. libecc – The C standard library based on the musl standard […]

Installing Android SDK on Ubuntu 12.04

The official instructions to install Android SDK do not appear to be really up-to-date for Ubuntu 12.04, so I’ll post how I’ve installed the Android SDK and Eclipse on Ubuntu 12.04. First download and decompress Android SDK for Linux:

on 64-bit Ubuntu:

Sun Java is not part of Ubuntu packages anymore, so you’ll need to use openjdk instead

Now install the SDK

Android SDK Manager should show up. Use the default recommended packages and platforms, as well as any extra packages you may need, and click on Install x packages, accept all licenses and after installation is complete, the Android SDK is installed. Eclipse IDE is optional, but it’s the most widely used IDE to develop Android apps. You can install Eclipse as follows:

Once both Android packages and platforms, and eclipse are installed, start eclipse:

Then in the top menu, click on Help->Install […]

Collabora and Fluendo Release GStreamer SDK 2012.5 Amazon

Last week, Collabora and Fluendo jointly announced the release of an open source software development kit (SDK ) for GStreamer multimedia framework. The SDK aims at easing the integration of Gstreamer  into projects and provides a pre-built version of the framework which is available for Linux, Windows and Mac OS X. GStreamer is used in many Linux applications such as media players (Rhythmbox, Banshee and Amarok),  video editors (PitiVi), and media centers such as XBMC among other applications. It’s also often the framework used to play videos on ARM platforms with implementations for OMAP 4/5 and devices compliant with the OpenMAX standard. Gstreamer website has also been updated and provides links to download GStreamer SDK and documentation on the home page. The new documentation looks pretty good with fives main sections: Instructions for installing the SDK on Linux (Ubuntu, Debian and Fedora), Windows or Mac OS. 11 basic and 2 advanced tutorials. […]

IAR Systems Releases Embedded Workbench for ARM Version 6.40

Earlier today, IAR Systems has announced the release of version 6.40 of Embedded Workbench for ARM. This new version introduces several new features, enhancements and optimizations. The enhancements include a new source browser and text editor, with functionality such as auto-completion, code folding, block selection, block indentation, bracket matching, and zooming. Word/paragraph navigation have also been improved. IAR Systems also enhanced the compiler with improvements to the stack usage analysis functionality that provides calculations of the maximum stack depth for each call graph root and new features such as support for C++ source code and  recursion. A new linker directive check can be used to calculate the stack usage at link time to verify that the used stack space does not exceed the allocated memory. The inline assembler has also been improved and expanded with a large number of new operand constraints and modifiers. In a previous post “Green Hills […]

Experienced Qt4 Mobile Developer? Get A Free Nokia N9 / N950 Smartphone

Quim Gil, in charge of developers relation at Nokia, announced on Maemo.org, that Nokia is currently looking for experienced Qt developers willing to port or develop apps running on top of Qt 5 before its finally release in August/September 2012 and will provide a Nokia N9 or N950 smartphones (running Meego) to selected developers. The goals of this device program are as follows: Testing Qt 5 itself and providing feedback while it’s alpha/beta. Testing the Qt 5 libraries for the Nokia N9. Developers feedback for port from Qt 4 to Qt 5, whether is was easy, a nightmare… and comments on difficulties experienced, Qt Creator and the documentation. Testing new Qt 5 features such as Qt Quick 2, textures, transitions, graphics / video effects, raw OpenGL ES stuff, post-Mobility APIs, the new Qt WebKit, JSON DB, ongoing R&D on PhoneGap own JQuery based experiments, etc… This new device program has […]

Github Releases GitHub for Windows Client

Github has announced the release of Github for Windows, a client that makes it easy to use Github in Windows XP, Vista, 7 and the upcoming Windows 8. To get started, download GitHub for Windows. After the first part of the installation procedure, it will go through 2 eye raising steps: 1- Restart your computer, 2- Start Internet Explorer automatically (to complete the installation). Then you’ll just need to enter our credentials (or register) to get started with Github. It will automatically scan your local git repositories and ask you if you want to add then to Github. It will also show your Github repository as shown below. If you want to clone other people Github repositories, you’ll need to go to github.com, select a repository and click on “Clone in Windows” button (See below) This will start cloning the repo in C:\Documents and Settings\User\My Documents\GitHub directory (default) and show […]

Getting Ubuntu armel/armhf Rootfs in Ubuntu 12.04

I’ve recently upgraded to Ubuntu 12.04 and this is a great operating system. However, if you do some arm development and expect to be able to install cross libraries (armel/armhf) or easily generate an arm rootfs using the tools you’ve been used to, you’ll be disappointed. In Ubuntu 11.10 (Oneiric), I used xapt and dpkg-cross to retrieve armel libraries, but it’s broken for Ubuntu 12.04, at least on my system. I’ve been told to switch to multiarch because this will be how it’s done from now on. But I soon discovered this is work in progress as quite a few packages are not multiarched yet including python. Ubuntu developers also decided to remove rootstock (which makes sense since xapt/dpkg-cross will be deprecated), so if you want to generate a rootfs the “gool ol’” way (which won’t be supported much longer), you’d have to install an Oneric chroot to run rootstock, […]

Build Your Phone Android Distro with CyanogenMod Compiler 0.4 GUI (Cmc-pygtk) for Ubuntu

Lithid, a member of XDA Developers Forum, has recently released the 4th version of a GUI tool (Cmc-pygtk) to build Android for a given smartphone as long as it is supported by CM. The CyanogenMod Compiler is supported by Ubuntu 10.04 32/64-bit and greater, and you can either download a deb file or build it yourself by following the instructions below: Install dependencies:

Clone the source tree:

Generate a gpg key:

Delete the changelog or dpkg will use lithid key instead.:

Edit the EMAIL field in the Makefile and replace it with the one used to generated the gpg key. Build it for your version of Ubuntu. For Ubuntu 12.04 32-bit:

And install it:

Before using CyanogenMod Compiler (CMC) is installed, you need to install google repo tool:

Now that everything is setup, you can run CyanogenMod Compiler: cmc A disclaimer message telling […]

EmbeddedTS embedded systems design