Re: Broken Build on Mac OS X

2005-12-03 Thread Andrei Warkentin
Hello, I should add a 'caveat emptor'. I've never built GRUB2 on OS X before, and, although I do not anticipate issues with the method I mentioned in my previous email, I am not guaranteeing success either. I've built my kernel both on Linux and OS X this way though, and I had no issues.

Re: Broken Build on Mac OS X

2005-12-03 Thread Andre Smith
Thanks Much! I will build that tool chain and rebuild GRUB2. On Dec 3, 2005, at 9:05 PM, Andrei Warkentin wrote: Hello, I would suggest building a bootstrap gcc powerpc crosscompiler and binutils, where the the host is your OS X system and the target is powerpc-linux. This will allow you

Re: Broken Build on Mac OS X

2005-12-03 Thread Andrei Warkentin
Hello, I would suggest building a bootstrap gcc powerpc crosscompiler and binutils, where the the host is your OS X system and the target is powerpc-linux. This will allow you to build PowerPC ELF objects, which you can then boot with OF. It is my understanding that the GRUB2 PowerPC buil

Re: Broken Build on Mac OS X

2005-12-03 Thread Andre Smith
Thank you for that information Marco. I will get on the gcc mailing list to see if there is a known process for re-enabling nested functions. I swear that really bites, and I wish Apple used some sort of flag to disable that feature. If I find out something positive, I'll report back to GRU

Re: Broken Build on Mac OS X

2005-12-03 Thread Marco Gerards
Andre Smith <[EMAIL PROTECTED]> writes: > gcc -Icommands -Igrub2/commands -I. -Iinclude -Igrub2/include -Wall - > W -DGRUB_DATADIR=\"/usr/local/share/grub/powerpc-ieee1275\" -g -O2 - > DGRUB_UTIL=1 -c -o grub_emu-commands_help.o grub2/commands/help.c > grub2/commands/help.c: In function 'grub_cmd

Re: Broken Build on Mac OS X

2005-12-02 Thread Andre Smith
Here is the full build process; it includes the setting of the PATH to the cross compiler tools, the configure statement, and finally the make: console:~/opensource/bootcode/source asmith$ echo $PATH /Users/asmith/opensource/crossgcc/bin:/bin:/sbin:/usr/bin:/usr/sbin console:~/opensource/boot

Re: Broken Build on Mac OS X

2005-12-02 Thread andre-smith
t absolute address 2000. Andre P.S. I can certainly post the complete results from the make; as soon as I get home. > -Original Message- > From: Hollis Blanchard [mailto:[EMAIL PROTECTED] > Sent: Friday, December 2, 2005 02:34 PM > To: 'The development of GRUB 2' > Su

Re: Broken Build on Mac OS X

2005-12-02 Thread Hollis Blanchard
On Dec 1, 2005, at 11:00 PM, Andre Smith wrote: 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: grub2/com