Skip to contentSkip to conversation

Broken Build on Mac OS X

DISCUSSION [email protected] 1 participant 1 message Dec 2, 2005

lore
Share & tools
lore
#0 lore raw

My apologies, if I'm not doing this right. I set the path from my cross compiler; it points to powerpc-elf-gcc, powerpc-elf-ld, powerpc-elf-*. If I don't do this, configure actually fails since using the darwin version of these compiler tools produce binaries that can not link at absolute address 2000.

Andre

P.S. I can certainly post the complete results from the make; as soon as I get home.

Quoted 34 lines

-----Original Message-----
From: Hollis Blanchard [mailto:[email protected]]
Sent: Friday, December 2, 2005 02:34 PM
To: 'The development of GRUB 2'
Subject: Re: Broken Build on Mac OS X

Quoted 5 lines · Andre Smith

I would like to report a broken build on Mac OS X using cross compiler powerpc-elf version 4.0.2 using binutils 2.16.1 and newlib 1.13.0. I get the following error message after running configure --host=powerpc-elf followed by a make:

Quoted 7 lines

grub2/commands/help.c: In function 'grub_cmd_help':
grub2/commands/help.c:42: error: nested functions are not supported on MacOSX
grub2/commands/help.c:65: error: nested functions are not supported on MacOSX
make: *** [grub_emu-commands_help.o] Error 1 console:~/opensource/bootcode/source asmith$

You omitted the full gcc invocation, but I suspect that you are not actually using your powerpc-elf cross-compiler here. Could you verify that?

-Hollis

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel