NASM in automake, is it possible?

Programming, for all ages and all languages.
Post Reply
User avatar
xDDunce
Member
Member
Posts: 173
Joined: Tue Aug 12, 2008 4:04 pm
Contact:

NASM in automake, is it possible?

Post 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.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: NASM in automake, is it possible?

Post by Troy Martin »

Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
xDDunce
Member
Member
Posts: 173
Joined: Tue Aug 12, 2008 4:04 pm
Contact:

Re: NASM in automake, is it possible?

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