Building GRUB on a Windows system???

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Berry

Building GRUB on a Windows system???

Post 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!!! :)
carbonBased

RE:Building GRUB on a Windows system???

Post 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
Dangamoose

RE:Building GRUB on a Windows system???

Post 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.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

RE:Building GRUB on a Windows system???

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