Page 1 of 1

Dont know how to compile asm

Posted: Mon Sep 03, 2007 5:11 pm
by bgpros6
I've read through MenuetOS Source code and i changed over half of it but now when it comes to compiling i dont know how to compile all source to one. PLEASE Help Thx

Posted: Mon Sep 03, 2007 5:28 pm
by vhg119
Can't you just use the Makefile? Or, did you modify so much of it that the Makefile is no longer relevant?

Posted: Mon Sep 03, 2007 5:29 pm
by Brynet-Inc
So you're proficiently skilled in x86 assembly but lack the skills to use an assembler?

I'm not at all convinced... ;)

Anyway, Google "fasm"... 8)

Posted: Mon Sep 03, 2007 5:41 pm
by bgpros6
All the source code did not come with the makefile at all it was just the source.

Posted: Mon Sep 03, 2007 6:41 pm
by neon
bgpros6 wrote:All the source code did not come with the makefile at all it was just the source.
If possible, make one to link all sources ;)

Posted: Tue Sep 04, 2007 12:16 am
by exkor
If you are talking about kernel then there is one file that you need to open and compile with Fasmw (in Windows).
If you are talking about apps then you'll have to open each file with Fasmw and compile it separately or make .bat file in Windows(alternative to makefile in Linux).
If you decide to go with .bat then you should use 'fasm' program probably not 'fasmw'
I was taking about latest 32bit version

As you can see there are lots of IFs that you need to clarify. But hopefully you can do it on your own now.

Posted: Tue Sep 04, 2007 12:58 pm
by Dex
With fasm most program just use one main file, with the rest has include files, has exkor said.

To assemble menuetOS you would do this:
c:\fasm KERNEL.ASM KERNEL.MNT

Or you could just click on the build.bat