On Wed, Dec 03, 2008 at 05:17:58PM +0800, zwolfox wrote: > hello everyone: > > I just to meet to Agar. It surprises me because of Its native "C",and I'm > interested in poring agar_GUI to my Embedded system. > But my embedded OS is not unix-like,and no threads-like API,no SDL & GL > API,so I must use my native OS and graphic driver API.
Agar doesn't rely on Unix features and threads are optional. You may have to edit the file access routines in core/file.c and core/dir.c. Graphics is probably going to be the most difficult part. Is there no OpenGL ES available for your platform? > I think i should poring agar_core first,but i was puzzled by the include > headers in config. > How do I generate configure dir and headers for my embedded systems? > i use an integrated compiler and debuger, agar14 branch svn code. This depends on your environment. Usually cross compiling is achieved by setting the $CC environment variable and running configure such that it looks only for components in your cross-compilation tree. The sdl-config and freetype-config in your $PATH must refer to cross-compiled versions of those libraries, for instance. _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
