CObjectSystem / COS

C Object System: a framework that brings C to the level of other high level programming languages and beyond

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libtool for building COS

devel-chm opened this issue · comments

AFAICT, the COS build process is a combination of shell scripts run to extract needed information from the files and to generate the needed additions along with some Makefile magic which exists to correctly compile and link the resulting code. The GNU libtool is a shell script that was designed with the goal of hiding the mess of correctly building and linking files on multiple platforms. Given that you already require a shell, it might make sense to move to libtool as that already enables building and linking programs and libraries both static and dynamic on posix, windows, and cygwin.

Closing this issue. I'd like to port COS to non-posix systems and to do that the build system needs to be adapted to work on windows platforms. One possible direction is to replace the shell components of the build process by perl routines. This would be portable since native perl implementations are available everywhere.