lua-users home
lua-l archive

Re: Porting lua to a embeded platform

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* On 2008年05月20日 Ralph Hempel <rhempel@hempeldesigngroup.com> wrote :
> Ico Doornekamp wrote:
>>
>> * On 2008年05月20日 chunlin zhang <zhangchunlin@gmail.com> wrote :
>>
>>> Many of the C runtime lib api could not be used in this platform
>>> especially "stdio.h",i.e.: malloc/free/realloc printf/fprintf
>>> fopen/fread/fwrite/fclose remove/rename/tmpfile(the platform have its
>>> own file system api with UTF16 string parameter)
>>
>> That's a nasty platform you've got there.
>
> Seems like a standard embedded platform to me. :-)
Yeah, and there's a *lot* of different 'standard' embedded systems
like that around :)
>> The other (and IMHO preferred way) would be to leave the Lua source
>> (mostly) unmodified, and implement the missing C library functions
>> needed to get Lua up and running on a glue layer on top of your
>> platform's API.
>
> This is exactly what I did, and it's described in the (hopefully)
> soon to be released Lua Gems book.
I (and others, problably) have been waiting for this book a long time
already; is there an official release date set that you know of ?
-- 
:wq
^X^Cy^K^X^C^C^C^C

AltStyle によって変換されたページ (->オリジナル) /