Page 1 of 1

Building GRUB on a Windows system???

Posted: Wed Dec 31, 2003 12:00 am
by Berry
Hello,

I wanna build GRUB but I have a Windows 98 system. I have DJGPP / NASM, but I don't know how to run the configure script... Typing ./configure doesn't work. Any help would be fantastic!!! :)

RE:Building GRUB on a Windows system???

Posted: Wed Dec 31, 2003 12:00 am
by carbonBased
Grub was meant to be compiled in a unix-like environment... you'll either need to download autoconf and automake tools for DJGPP (if they even exist...?) or use CYGWIN or MING/W instead (I believe both environments offer the tools you'll require).

Cheers,
Jeff

RE:Building GRUB on a Windows system???

Posted: Thu Jan 01, 2004 12:00 am
by Dangamoose
Or depending on where you want grub then you could grab a floppy disk image off the net with grub in the bootsector already compiled.

You can then write the image to a floppy disk physically, with winwrite for windows i think it is, or just use the img with your fav virtual machine.

Only works for floppies mind you, unless you find a hard disk disk image with grub on.

The Bona Fide OS development web site has one.
http://osdev.neopages.net/downloads.php

Dangamoose.

RE:Building GRUB on a Windows system???

Posted: Thu Jan 01, 2004 12:00 am
by df
its not currently possible to build grub under cygwin, even with binutils --enable-targets=all...  there is a bizarre LD error about absolutes or something.