9 years, 6 months ago.

Correct offline compile instructions for both mbed & rtos?

Hello,

I apologize if this has been asked and answered before - I tried looking for an answer to this and failed to find one.

I want to compile offline using gcc both the mbed & rtos sources.

When I export, download, and compile - I get multiple link errors (e.x. StackTop, isr_vector, mbed::FileHandle::FileHandle(), _read, _lseek).

Both subtree appear to have their own hardware initialization routines, and that I'm guessing the Makefile was not created correctly by the export utility. The project does compile, link, and run from the website compiler. (Its a simple "hello, world!" program.)

So what's the correctly way to download and compile this?

Thanks,

Michael

What target, mbed lib or mbed src? What revision? Using beta? It should compile "out of the box"

posted by Martin Kojtal 20 Oct 2014
Be the first to answer this question.