NASM in automake, is it possible?
Posted: Wed May 13, 2009 11:53 am
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.
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.