Dienstag, 22. Februar 2011

elilo 3.14 compiling

For some purposes i need some more debug messages inside elilo.
So I downloaded elilo 3.14 including source code ("elilo-3.14-all.tar.gz") from http://sourceforge.net/projects/elilo/ (why the hell is the last elilo listed at http://elilo.sourceforge.net "elilo 3.7 Beta Released 7/19" ??).

Then i started my Ubuntu 10.04 LTS server virtual machine (x86-64) and tried to compile elilo in this machine:

myname@ubuntu:~$ sudo apt-get install gnu-efi
...< some apt-get output> ...
myname@ubuntu:~$ sudo apt-get install build-essential
...< some apt-get output> ...
myname@ubuntu:~$ mkdir elilo
myname@ubuntu:~$ cd elilo
myname@ubuntu:~/elilo$ wget -e "http_proxy=" http://ftp2.ie.netbsd.org/mirrors/download.sourceforge.net/pub/sourceforge/e/project/el/elilo/elilo/elilo-3.14/elilo-3.14-all.tar.gz
...< some wget output> ...
myname@ubuntu:~/elilo$ tar -xvzf elilo-3.14-all.tar.gz
...< some tar output> ...
myname@ubuntu:~/elilo$ tar -xvzf elilo-3.14-source.tar.gz
...< some tar output> ...
myname@ubuntu:~/elilo$ cd elilo
myname@ubuntu:~/elilo/elilo$ make

The resulting executable is the "elilo.efi", and as i am compiling on a x86-64 machine, this is for x64 UEFI. How would i compile this for x64 UEFI on a x86 machine? I don't know!

Now i could start adding debug messages.

Keine Kommentare:

Kommentar veröffentlichen