Hi Guys,
Just a quick query, does anyone use the GNU autoconf tools (or any other toolset) to build applications based on FASM?
At the moment the b0 compiler (which I've written) has been to confirmed to work on Windows x64, Linux, FreeBSD and Solaris.
For the moment, to define the build I need to edit the parent source file and set a define like:
#define WIN64;
#define FREEBSD;
#define SOLARIS;
#define LINUX;
#define UNIX_LIBC;
etc..
Then modify the Makefile to set the install location, and tool locations... etc, etc, etc.
It would be easier (for the end user) to just do a:
./configure
make && make install
In my case it would be a matter of just finding the OS name via 'uname', echoing a '#define <OS>;' to a file, if gmake, gdiff, gtar are needed to get the GNU tools rather than the native tools, where fasm is located, and if html2ps and ghostscript are installed (for the docs). then rebuild the Makefile for the install path and other details from above...
I've looked at the GNU autoconf tools, and well they're not really suited to anything other than C/C++ applications... (even though there is provision for Assembly, it's lacking). But then again, maybe I've missed something?
Any examples or thoughts would be appreciated...
PS. For Windows I have a 'build.cmd' which does everything, so I don't have to worry about Windows...
|