On Thu, Dec 01, 2022 at 09:22:42AM -0500, Stefan Berger wrote: > On 12/1/22 09:02, Daniel Kiper wrote:
[...] > > ./configure --target=i386 --with-platform=ieee1275 ... > > I had to adjust the created symlist.h like this to make it compile at least: > > //#include <../include/grub/machine/pxe.h> > //#include <../include/grub/machine/int.h> Hmmm... Strange... It builds for me without any issues. I use latest Debian testing, gcc version 12.2.0 (Debian 12.2.0-9). It builds with gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) too. What compiler do you use? > When trying to install this on my i386 VM I get this here: > > sudo grub-install /dev/vda --target=i386-ieee1275 > Installing for i386-ieee1275 platform. > grub-install: warning: cannot open directory `/usr/local/share/locale': No > such file or directory. > grub-install: warning: unknown device type vda1. > grub-install: error: ofpathname: not found. > > Would this type of target produce a grub version that works on a VM > that would otherwise work with i386-pc? Nope... > And is this still a supported target? What do you mean by "supported"? It is build tested and, AIUI, all "make check" tests pass. Though I am not sure anybody uses this kinda weird target. Well, I think I knew but I forgot... :-) Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel