bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Grub.


From: Groman
Subject: Compiling Grub.
Date: Sun, 15 Apr 2001 13:23:52 -0700

Hello everyone.
I just checked out the latest grub from the CVS and decided
to compile it on my Win2k machine using a mix of cygwin/djgpp.
Since cygwin doesn't support _start or start, I used the DJGPP
gcc/ld, but I used the cygwin's make(by fiddling with the environment
a bit), during configure it got to the part:
    checking whether objcopy works for absolute addresses...
 
and told me that gcc could not compile C sources. I thought I messed
it up and decided to reboot into BeOS(with latest dev package and
freshly compiled binutils/gcc). Again, ran configure, and
 
    checking whether objcopy works for absolute addresses...
    configure: error: objcopy cannot create binary files

Hmm, I thought. Looked at objcopy. Objcopy was normal and very recent.
I decided that my Grub got corrupted during the CVS checkout, so
I checked it out again. And tried it again on Win2k and BeOS. Same errors.
Well, I figure that Grub needs a real *Nix to compile, so I got to my friend's
OpenBSD 2.7 system. CVS checked it out. and guess what? during configure:

    checking whether objcopy works for absolute addresses...
    configure: error: objcopy cannot create binary files

Again I think he had the latest binutils and everything.
 
Am I just unlucky or am I just stupid?

Thanks.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]