Saturday, 7 February 2009

Precompiled GCC Toolchains for the Porting Kit

I have been trying to get GCC to work with the .Net Micro Framework Porting Kit (PK), but unlike the commercial compilers that are supported for the PK (MDK, etc.), there are five dozen different ways to build a GCC/ARM toolchain.

In .NET Micro Framework Porting Kit V3.0 with GCC Support?, Stefan Schmidt had suggested using Raisonance's free ARM toolchain, since a none EABI compiler is required. I had downloaded it, and tried it out, but I also asked the NETMF support team which toolchain they are using internally, since it will likely make any support inquiries easier, and save me a headache as well. Apparently, they are using the (also free) Sourcery G++ Lite toolchain from CodeSourcery. I opted to use the older Q3 2007 release (reference in the previous link), since the newer releases use GCC 4.3, whereas the porting kit was tested to work with 4.2.

Once I can get the NativeSample project up and running, I'll post a tutorial on how to properly configure Sourcery G++ Lite with the PK.

2 comments:

  1. Hi,

    just wanted to know if you got something running already. I'm working on something that is pretty much depending on a working toolchain. I tried the "Sourcery G++ Lite" one but got some errors from the linker (ld.exe) telling me that some entry symbols are missing (_start, _exit, _getpid, _kill and _sbrk), which are all related to stack pointers. I suppose this is something OS or in our case NetMF specific.

    ReplyDelete
  2. dengan mengajukan bukti-bukti yang seolah-olah kuat.
    Dalam pernyataannya, produsen gelang Power Balance mengakui tidak punya bukti ilmiah bahwa produknya berkhasiat.Ugg boots clearance Sebelumnya, Power Balance gencar mempromosikan bahwa gelang dari bahan silikon yang disertai hologram dapat meningkatkan kekuatan,

    ReplyDelete