Page 1 of 1

NASM in automake, is it possible?

Posted: Wed May 13, 2009 11:53 am
by xDDunce
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.

Re: NASM in automake, is it possible?

Posted: Wed May 13, 2009 7:28 pm
by Troy Martin

Re: NASM in automake, is it possible?

Posted: Thu May 14, 2009 10:51 am
by xDDunce
haha, thanks troy.

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...