This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Porting existing project from ARMCC to GCC

Hello,

We have a project where we use the ARMCC toolchain (and Keil RL-ARM libraries). The project
was of course born with ARMCC and we want to go on using this toolchain for the commercial project.

But sometimes we have smaller derivated projects, where eg. an intern is testing a new
math library or equal where we don't necesarily need the entire Keil setup but could do
with a cheap Keil+GCC configuration.

My question is:
Would it be possible to use eg. the GCC toolchain for existing projects like this...
..and does anyone have an estimate (or guess) of how much work it will be to port Keil RL-ARM
libraries from ARMCC to GCC, if it is possible at all.

There are a lot of resources about Keil and GCC on the net but i haven't found any that has
moved an existing project from ARMCC to GCC.

Thanks in advance

Parents
  • You would need the library sources for that - do you have them?

    You should probably also check your licence terms regarding this. Maybe contact Keil support.

    Plenty of chip vendors do provide code with conditional compilation for Keil and GCC and Others, so that part shouldn't be an issue. It's the Libraries...

Reply
  • You would need the library sources for that - do you have them?

    You should probably also check your licence terms regarding this. Maybe contact Keil support.

    Plenty of chip vendors do provide code with conditional compilation for Keil and GCC and Others, so that part shouldn't be an issue. It's the Libraries...

Children
  • Thanks, you're right, actually we don't have the library sources...and this will probably be
    a showstopper for us.

    ..unless of course one can find a way of linking GCC and ARMCC objects like written here:
    answers.launchpad.net/.../188291..only this article concerns
    data types .. from a test compilation I made it seems our problem is lowlevel stuff like
    interrupt clearing commands etc.

    ....

    Anyway we'll need to adapt all our source code to conditional compilation like the chip vendor code you referred to - which will require some work - so it could be that we for now at least only should consider this for new projects..not for existing.

    Best regards