Re: D for embedded system

2013-01-08 Thread Timo Sintonen
On Tuesday, 8 January 2013 at 20:42:07 UTC, Freddie Chopin wrote: You should definetely post that to github or somewhere (dropbox, ...)! I'd be really interested to see the files (and maybe some details about strange things you need to do to get whole toolchain compiled), but I cannot see your

Re: D for embedded system

2013-01-08 Thread Freddie Chopin
On Tuesday, 8 January 2013 at 16:52:05 UTC, Freddie Chopin wrote: Well, RTOSes ("schedulers") like FreeRTOS don't do that much - you have threads, mutexes/semaphores, message queue and software timers - all of them but the last one is covered by D APIs, but now I thought that D probably just us

Re: D for embedded system

2013-01-08 Thread Dmitry Olshansky
09-Jan-2013 00:42, Freddie Chopin пишет: On Tuesday, 8 January 2013 at 20:13:54 UTC, Timo Sintonen wrote: Next I think I will make a list of required changes and then I will make a simple makefile to compile the library. If anybody is interested, please send an email to me and I will send those

MinGW GDC updates

2013-01-08 Thread Daniel Green
do step 2. MinGW64 installer http://tdm-gcc.tdragon.net/ You'll need to pull it from the archives. http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1006.0/ GDC binary https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-20130108-D2.060.7z Please post all

Re: D for embedded system

2013-01-08 Thread Freddie Chopin
On Tuesday, 8 January 2013 at 20:13:54 UTC, Timo Sintonen wrote: Next I think I will make a list of required changes and then I will make a simple makefile to compile the library. If anybody is interested, please send an email to me and I will send those files back to you. You should definete

Re: D for embedded system

2013-01-08 Thread Timo Sintonen
There are hundreds of ARM processors from several vendors from megahertz to gigahertz and from kilobytes to gigabytes. When we talk about ARMs it should be good to mention what kind of ARM we are using. My interest is stm32f4 but everything I have done should be useful in the whole cortex-m s

Re: D for embedded system

2013-01-08 Thread Jacob Carlborg
On 2013-01-08 17:52, Freddie Chopin wrote: Yes, we're talking about real bare-metal here (; I think D with it's safety fits really nicely in the embedded niche... I think that if D could be used on a system with 128kB of flash and 8kB of RAM that would be great. If it would require the chip to h

[Issue 27] Undefined interface functions when inheriting from two sources.

2013-01-08 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=27 --- Comment #6 from Daniel Green 2013-01-08 18:41:52 UTC --- This is identical to the thunk issue we had a while ago. It broke with this change. https://github.com/D-Programming-GDC/GDC/commit/cd8bb6d03ae3134a4976689eab312e2bb57701fc#gcc/d/d-obj

Re: D for embedded system

2013-01-08 Thread Matthew Caron
On 01/08/2013 11:58 AM, Freddie Chopin wrote: To be even more specific - I'm talking about microCONTROLLERS (not micro-processors), ARM Cortex-M3 or Cortex-M4, STM32, LPC17xx, maybe even Cortex-M0 if the footprint is low enough... So no MMU, sometimes MPU (rarely), ROM in "hundreds of kilobytes",

Re: D for embedded system

2013-01-08 Thread Dmitry Olshansky
08-Jan-2013 20:58, Freddie Chopin пишет: On Tuesday, 8 January 2013 at 16:52:05 UTC, Freddie Chopin wrote: Yes, we're talking about real bare-metal here (; I think D with it's safety fits really nicely in the embedded niche... I think that if D could be used on a system with 128kB of flash and 8

Re: D for embedded system

2013-01-08 Thread Freddie Chopin
On Tuesday, 8 January 2013 at 16:52:05 UTC, Freddie Chopin wrote: Yes, we're talking about real bare-metal here (; I think D with it's safety fits really nicely in the embedded niche... I think that if D could be used on a system with 128kB of flash and 8kB of RAM that would be great. If it wou

Re: D for embedded system

2013-01-08 Thread Freddie Chopin
On Tuesday, 8 January 2013 at 15:45:18 UTC, Matthew Caron wrote: On 01/08/2013 09:22 AM, Freddie Chopin wrote:> Hi! > > Any progress on making D an usable alternative for C/C++ for ARM > MCUs? I had a cross compiler working based on an older version of this: http://gdcproject.org/wiki/Cross%2

Re: D for embedded system

2013-01-08 Thread Matthew Caron
On 01/08/2013 09:22 AM, Freddie Chopin wrote:> Hi! > > Any progress on making D an usable alternative for C/C++ for ARM > MCUs? I had a cross compiler working based on an older version of this: http://gdcproject.org/wiki/Cross%20Compiler/crosstool-NG Bear in mind that my embedded system is an A

Re: D for embedded system

2013-01-08 Thread Freddie Chopin
Hi! Any progress on making D an usable alternative for C/C++ for ARM MCUs? This would be VERY interesting thing! A wiki page was mentioned several times, but I guess that it didn't happen, so the only source of knowledge is this thread... Anyway - do you think that D's threads could actually rep