bug-grub
[Top][All Lists]
Advanced

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

Loading an ELF executable


From: Robert K.
Subject: Loading an ELF executable
Date: Tue, 30 Oct 2001 20:32:34 +0100

Hi!
I'd like to write a standalone program for some reason.
So I compiled a test program that pokes around in the VGA-text memory. I
used the gnu c++ compiler that is included with Redhat 7.1 and compiled
like this:
gcc -nostdlib -e main -o test test.cxx

If I try GRUB to load it, GRUB tells me, that it can't recognize the
format.
I thought GRUB is capable of ELF?

So, how do I have to compile a program in order to comply?



reply via email to

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