hi,
In my research into moving my OS into XCode, I have been trying to find an automatic build system. automake/autoconf seems to fit the bill, but i can't seem to be able to use NASM instead of GAS when building assembly files.
To prevent any mishaps etc, etc. I started a new project, and made a small bootable program (basicly just prints to the screen and hangs). I set up the directories and required files correctly to get the build sequence working (aclocal->automake --add-missing->autoconf->./configure->make all) and it all works up until "make all" because the makefile invokes GAS not NASM.
I'm sure there is a line or 2 that I need to put in "configure.ac" but i've searched google for a countless number of things and can't seem to find the solution.
does anyone know how to use NASM instead of GAS?
Thanks in advance,
James.
NASM in automake, is it possible?
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: NASM in automake, is it possible?
haha, thanks troy.Troy Martin wrote:http://lmgtfy.com/?q=automake+use+nasm
although i think i did mention i had Googled a lot already and that i didn'nt find anything that describes how to do this. following the Google results, none of them state exactly how to use NASM in automake. They do, however, indicate that it is possible. It appears to involve a few "hacky" work arounds...