Hi,
With the latest r1783, it's all right to compile BURG from Solaris 8/9
sparc/x86. Here are some notes:
Many tools shipped with Solaris 8/9 are not adequate to compile BURG,
you need to install the software from
www.sunfreeware.com, here is the
package list:
autoconf automake m4 bash findutils grep make gcc-3.4.6 binutils
coreutils bison ruby python gettext
After download and extract source code, use the following command to
generate makefiles:
bash autogen.sh
You need to use bash explicitly as the default /bin/sh is not ok.
Then configure and build:
./configure LDFLAGS="-R /usr/local/lib" AS="/usr/local/bin/as -Av9
-64" --with-shell=/usr/local/bin/bash
make
LDFLAGS is used to set /usr/local/lib as rpath so that it can find
shared libraries like libintl properly.
AS instruct it to use assembler from binutils instead of
/usr/ccs/bin/as. The gcc from
www.sunfreeware.com would use
/usr/ccs/bin/as by default, which would fail to compile assembly code
in BURG. The option "-Av9 -64" is used to build sparc64 object file,
it should be changed on x86 host.
--with-shell allows you to change the shell used in Makefiles.
With these settings, compiling should run well.
In sparc host, you can use grub-mkimage to generate netboot image:
./grub-mkimage -n -d . -o sparc.img minicmd part_sun ufs1
The image boots ok. However, there seems to be some bug in part_sun
and it doesn't recognized the partition.
In x86 host, use grub-mkrescue to generate a iso image, it boots ok in qemu.
Using grub-install/grub-setup to install to boot block is not tested,
but considering there is no special handling for solaris host, it
probably fails.
Test OS:
Solaris 8 sparc u7
Solaris 9 x86 u8
--
Bean
Project:
https://launchpad.net/burg
Document:
https://help.ubuntu.com/community/Burg
Mailing list:
http://groups.google.com/group/burg-devel