Thread overview
Severin Teona - SAOC Milestone 2 Update 2 - Druntime for Microcontrollers
November 06
Hello guys!

My last post is at [1]. For this week I planned to:
- link the druntime with some empty implementations
- emulate an application that uses that druntime.

Unfortunately, I have not managed to complete all my tasks, mostly because some of the `undefined referece` errors gave me a hard time.

I still have a few errors I have to solve, so this week's plans remain the same:
- finish the linking process
- emulate an application

[1]: https://forum.dlang.org/post/wwvotjckyihuvvhxscha@forum.dlang.org
November 06
On Friday, 6 November 2020 at 12:13:23 UTC, Severin Teona wrote:
> Hello guys!
>
> My last post is at [1]. For this week I planned to:
> - link the druntime with some empty implementations
> - emulate an application that uses that druntime.
>
> Unfortunately, I have not managed to complete all my tasks, mostly because some of the `undefined referece` errors gave me a hard time.
>
> I still have a few errors I have to solve, so this week's plans remain the same:
> - finish the linking process
> - emulate an application
>
> [1]: https://forum.dlang.org/post/wwvotjckyihuvvhxscha@forum.dlang.org

Undefined reference to what?
November 06
On Friday, 6 November 2020 at 12:36:12 UTC, Max Haughton wrote:

> Undefined reference to what?

Hi!  See my post at [1] - here I wrote about just a few errors I was getting. Besides those, there are others, like `stdout` and `stderr` - which I believe are some symbols defined in a macro that somehow is not included in the linking process and that's the reason it doesn't work.

The druntime depends on some POSIX calls implementations that normally are provided by the OS you are running the application on. But as I am using TockOS, that does not provide such implementations, I was thinking I could write some empty functions to link the druntime to. Most of the error were solved (the thread-dependent ones), and right now I am trying to do something about the stdoud/stderr ones.

[1]: https://forum.dlang.org/post/wwvotjckyihuvvhxscha@forum.dlang.org
November 06
On Friday, 6 November 2020 at 13:18:38 UTC, Severin Teona wrote:
> [1]: https://forum.dlang.org/post/wwvotjckyihuvvhxscha@forum.dlang.org

Oops, I have the link wrong. Actually I have two posts:
[1]: https://forum.dlang.org/post/erwfgtigvcciohllvaos@forum.dlang.org
[2]: https://forum.dlang.org/post/irkajgbkogkfvwnfrpxt@forum.dlang.org