Message board for the users of flat assembler.
> Unix > GNU Build tools and FASM
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:
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:
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...
|06 Nov 2007, 10:19||
Note: preprocessor statements should not end with semi-colons. (#define WIN64; -> #define WIN64)
|08 Nov 2007, 23:20||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.